|
static Set< Class<?> > | getClasses (String packageName) |
|
◆ getClasses()
static Set< Class<?> > ppt4j.util.PackageScanner.getClasses |
( |
String | packageName | ) |
|
|
static |
This method retrieves all classes within a specified package, including classes within sub-packages. It first determines whether the package is stored as a directory or within a jar file, then proceeds to add the classes accordingly. The method returns a set containing all the classes found.
- Parameters
-
packageName | the name of the package to retrieve classes from |
- Returns
- a set of Class objects representing the classes found in the specified package
The documentation for this class was generated from the following file: