Class DirectoryResourceLoader
- java.lang.Object
-
- io.quarkus.platform.descriptor.loader.json.DirectoryResourceLoader
-
- All Implemented Interfaces:
ResourceLoader
public class DirectoryResourceLoader extends Object implements ResourceLoader
-
-
Constructor Summary
Constructors Constructor Description DirectoryResourceLoader(Path dir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TloadResourceAsPath(String name, ResourcePathConsumer<T> consumer)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.platform.descriptor.loader.json.ResourceLoader
loadResource
-
-
-
-
Constructor Detail
-
DirectoryResourceLoader
public DirectoryResourceLoader(Path dir)
-
-
Method Detail
-
loadResourceAsPath
public <T> T loadResourceAsPath(String name, ResourcePathConsumer<T> consumer) throws IOException
- Specified by:
loadResourceAsPathin interfaceResourceLoader- Throws:
IOException
-
-