io.sentry.config.ResourceLoader Maven / Gradle / Ivy
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