Interface ResourceLoader
-
- All Known Implementing Classes:
ClassPathResourceLoader,DirectoryResourceLoader,ZipResourceLoader
public interface ResourceLoader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <T> TloadResource(String name, ResourceInputStreamConsumer<T> consumer)<T> TloadResourceAsPath(String name, ResourcePathConsumer<T> consumer)
-
-
-
Method Detail
-
loadResourceAsPath
<T> T loadResourceAsPath(String name, ResourcePathConsumer<T> consumer) throws IOException
- Throws:
IOException
-
loadResource
default <T> T loadResource(String name, ResourceInputStreamConsumer<T> consumer) throws IOException
- Throws:
IOException
-
-