Package io.micronaut.core.io.file
Interface FileSystemResourceLoader
- All Superinterfaces:
ResourceLoader
- All Known Implementing Classes:
DefaultFileSystemResourceLoader
Abstraction to load resources from the file system.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FileSystemResourceLoader
Creation method.default boolean
supportsPrefix
(String path) Does the loader support a prefix.Methods inherited from interface io.micronaut.core.io.ResourceLoader
forBase, getResource, getResourceAsStream, getResources
-
Field Details
-
PREFIX
The resource name prefix.- See Also:
-
-
Method Details
-
defaultLoader
Creation method.- Returns:
- loader
-
supportsPrefix
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
-