Class ResourceLoader


  • public class ResourceLoader
    extends java.lang.Object
    see https://stackoverflow.com/a/28057735
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceLoader()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.stream.Stream<java.nio.file.Path> getDirResources​(java.lang.String path)  
      static @NotNull java.nio.file.Path getPath​(java.lang.String path)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceLoader

        public ResourceLoader()
    • Method Detail

      • getDirResources

        public static java.util.stream.Stream<java.nio.file.Path> getDirResources​(java.lang.String path)
                                                                           throws java.net.URISyntaxException,
                                                                                  java.io.IOException
        Throws:
        java.net.URISyntaxException
        java.io.IOException
      • getPath

        @NotNull
        public static @NotNull java.nio.file.Path getPath​(java.lang.String path)
                                                   throws java.net.URISyntaxException,
                                                          java.io.IOException
        Throws:
        java.net.URISyntaxException
        java.io.IOException