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
  • 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:
      loadResourceAsPath in interface io.quarkus.devtools.codestarts.CodestartPathLoader
      Throws:
      IOException