Class ClassPathResourceProvider

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class ClassPathResourceProvider
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.util.stream.Stream<java.nio.file.Path> listAllChildrenOnClasspath​(java.lang.Class<?> clazz, java.lang.String... subFolder)  
      java.util.stream.Stream<java.nio.file.Path> toPathsOnClasspath​(java.lang.String... subFolder)  
      • Methods inherited from class java.lang.Object

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

      • ClassPathResourceProvider

        public ClassPathResourceProvider()
    • Method Detail

      • listAllChildrenOnClasspath

        public java.util.stream.Stream<java.nio.file.Path> listAllChildrenOnClasspath​(java.lang.Class<?> clazz,
                                                                                      java.lang.String... subFolder)
      • toPathsOnClasspath

        public java.util.stream.Stream<java.nio.file.Path> toPathsOnClasspath​(java.lang.String... subFolder)
      • close

        public void close()
                   throws java.lang.IllegalStateException
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.IllegalStateException