public class ClassFinder
extends java.lang.Object
| Constructor and Description |
|---|
ClassFinder()
Default constructur initializes the directories indicated by the
CLASSPATH, if they are not yet initialized.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class[] |
getAll(java.lang.String packageName)
Retrive all classes of the indicated package.
|
java.util.List<java.lang.String> |
getClasseNamesInPackage(java.nio.file.Path jar,
java.lang.String packageName) |
public ClassFinder()
public java.util.List<java.lang.String> getClasseNamesInPackage(java.nio.file.Path jar,
java.lang.String packageName)
public java.lang.Class[] getAll(java.lang.String packageName)
throws java.lang.ClassNotFoundException
packageName - name of the package as 'ch.sahits.civ'java.lang.ClassNotFoundException - no class was found in classpath