Class ResourceHelper
- java.lang.Object
-
- org.drools.scenariosimulation.backend.util.ResourceHelper
-
public class ResourceHelper extends Object
Utility that provide classPath scan to retrieve resources
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stream<String>getResourcesByExtension(String extension)Scan into classpath folders to find resources with the required extensionstatic Stream<String>getResourcesFromDirectory(File directory, Pattern pattern)Scan folder to find resources that match with pattern
-