public class ClassFinder extends Object
| Constructor and Description |
|---|
ClassFinder() |
| Modifier and Type | Method and Description |
|---|---|
static String |
asResource(Class<?> klass) |
Collection<ClassDescriptor> |
findAllEmbeddedClasses(Class<?> klass) |
Collection<ClassDescriptor> |
findAllEmbeddedClasses(Class<?> klass,
String pattern) |
Collection<ClassDescriptor> |
findAnonymousClasses(Class<?> klass) |
List<ClassDescriptor> |
findEmbeddedClasses(File file,
String pattern) |
List<ClassDescriptor> |
findEmbeddedClasses(URL jarUrl,
String pattern) |
public Collection<ClassDescriptor> findAllEmbeddedClasses(Class<?> klass) throws IOException
IOExceptionpublic Collection<ClassDescriptor> findAnonymousClasses(Class<?> klass) throws IOException
IOExceptionpublic Collection<ClassDescriptor> findAllEmbeddedClasses(Class<?> klass, String pattern) throws IOException
IOExceptionpublic List<ClassDescriptor> findEmbeddedClasses(File file, String pattern) throws MalformedURLException
MalformedURLExceptionpublic List<ClassDescriptor> findEmbeddedClasses(URL jarUrl, String pattern) throws IOException
IOExceptionCopyright © 2007–2014 OPS4J - Open Participation Software for Java. All rights reserved.