Package org.jobrunr.utils.resources
Class ClassPathResourceProvider
- java.lang.Object
-
- org.jobrunr.utils.resources.ClassPathResourceProvider
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class ClassPathResourceProvider extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description ClassPathResourceProvider()
-
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)
-
-
-
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 interfacejava.lang.AutoCloseable
- Throws:
java.lang.IllegalStateException
-
-