All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sentry.config.ResourceLoader Maven / Gradle / Ivy

There is a newer version: 8.0.0-rc.4
Show newest version
package io.sentry.config;

import java.io.InputStream;

import io.sentry.util.Nullable;

/**
 * Interface for platform-specific resource loaders.
 */
public interface ResourceLoader {
    /**
     * Returns an InputStream from the resource at {@code filepath} or null, if it was not possible
     * to open the resource.
     *
     * @param filepath  Path of the resource to open
     * @return  Resource's input stream or null
     */
    @Nullable InputStream getInputStream(String filepath);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy