Package io.micronaut.core.io.file
Interface FileSystemResourceLoader
-
- All Superinterfaces:
ResourceLoader
- All Known Implementing Classes:
DefaultFileSystemResourceLoader
public interface FileSystemResourceLoader extends ResourceLoader
Abstraction to load resources from the file system.
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static FileSystemResourceLoader
defaultLoader()
Creation method.default boolean
supportsPrefix(java.lang.String path)
Does the loader support a prefix.-
Methods inherited from interface io.micronaut.core.io.ResourceLoader
forBase, getResource, getResourceAsStream, getResources
-
-
-
-
Method Detail
-
defaultLoader
static FileSystemResourceLoader defaultLoader()
Creation method.- Returns:
- loader
-
supportsPrefix
default boolean supportsPrefix(java.lang.String path)
Does the loader support a prefix.- Specified by:
supportsPrefix
in interfaceResourceLoader
- Parameters:
path
- The path to a resource including a prefix appended by a colon. Ex (classpath:, file:)- Returns:
- boolean
-
-