public interface ResourceLoader
Plugin API for loading resources typically from the classpath or module path.
When not specified Avaje Config provides a default implementation that looks to find resources using the class loader associated with the ResourceLoader.
Note there is a fallback to use ClassLoader.getSystemResourceAsStream(String)
if the ResourceLoader returns null.
-
Method Summary
Modifier and TypeMethodDescriptiongetResourceAsStream
(String resourcePath) Return the InputStream for the given resource or null if it can not be found.
-
Method Details
-
getResourceAsStream
Return the InputStream for the given resource or null if it can not be found.
-