Class ClassPathSupport
java.lang.Object
org.antublue.test.engine.internal.support.ClassPathSupport
Class to implement ClassPathURIUtils
-
Method Summary
Modifier and TypeMethodDescriptionfindClasses(String packageName, Predicate<Class<?>> predicate) Method to scan the Java class path and return a list of lasses matching the package name and PredicatefindClasses(URI uri, Predicate<Class<?>> predicate) Method to scan the Java class path URI and return a list of classes matching the PredicatefindClasses(Predicate<Class<?>> predicate) Method to scan the Java class path and return a list of classes matching the PredicatefindResources(String regex) Method to scan the Java class path and return a list of URLs matching the nameMethod to get a List of clas path URIsMethod to get a list of class path URLs
-
Method Details
-
getClasspathURIs
Method to get a List of clas path URIs- Returns:
- a List of class path URIs
-
getClassPathURLS
Method to get a list of class path URLs- Returns:
- a List of class path URLs
-
findClasses
Method to scan the Java class path and return a list of classes matching the Predicate- Parameters:
predicate- predicate- Returns:
- a List of Classes
-
findClasses
Method to scan the Java class path URI and return a list of classes matching the Predicate- Parameters:
uri- uripredicate- predicate- Returns:
- a List of Classes
-
findClasses
Method to scan the Java class path and return a list of lasses matching the package name and Predicate- Parameters:
packageName- packageNamepredicate- predicate- Returns:
- a List of Classes
-
findResources
Method to scan the Java class path and return a list of URLs matching the name- Parameters:
regex- regex- Returns:
- a List of URLs
- Throws:
IOException
-