Package com.loohp.limbo.utils
Class ClasspathResourcesUtils
java.lang.Object
com.loohp.limbo.utils.ClasspathResourcesUtils
list resources available from the classpath @ *
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<String>
getResources
(Pattern pattern) for all elements of java.class.path get a Collection of resources Pattern pattern = Pattern.compile(".*"); gets all resources
-
Constructor Details
-
ClasspathResourcesUtils
public ClasspathResourcesUtils()
-
-
Method Details
-
getResources
for all elements of java.class.path get a Collection of resources Pattern pattern = Pattern.compile(".*"); gets all resources- Parameters:
pattern
- the pattern to match- Returns:
- the resources in the order they are found
-