Package io.quarkus.devtools.codestarts
Class CodestartResourceLoader
java.lang.Object
io.quarkus.devtools.codestarts.CodestartResourceLoader
- All Implemented Interfaces:
io.quarkus.devtools.codestarts.CodestartPathLoader
public final class CodestartResourceLoader
extends Object
implements io.quarkus.devtools.codestarts.CodestartPathLoader
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.devtools.codestarts.CodestartPathLoader
io.quarkus.devtools.codestarts.CodestartPathLoader.PathConsumer<T> -
Method Summary
Modifier and TypeMethodDescriptionloadCodestartsFromResources(List<ResourceLoader> codestartResourceLoaders, String relativePath) <T> TloadResourceAsPath(String name, io.quarkus.devtools.codestarts.CodestartPathLoader.PathConsumer<T> consumer) static io.quarkus.devtools.codestarts.CodestartPathLoadertoCodestartPathLoader(ResourceLoader resourceLoader)
-
Method Details
-
loadCodestartsFromResources
public static Map<String,io.quarkus.devtools.codestarts.Codestart> loadCodestartsFromResources(List<ResourceLoader> codestartResourceLoaders, String relativePath) throws IOException - Throws:
IOException
-
toCodestartPathLoader
public static io.quarkus.devtools.codestarts.CodestartPathLoader toCodestartPathLoader(ResourceLoader resourceLoader) -
loadResourceAsPath
public <T> T loadResourceAsPath(String name, io.quarkus.devtools.codestarts.CodestartPathLoader.PathConsumer<T> consumer) throws IOException - Specified by:
loadResourceAsPathin interfaceio.quarkus.devtools.codestarts.CodestartPathLoader- Throws:
IOException
-