public class PackageUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addClassLoader(ClassLoader loader)
Add a class loader to the searchable loaders.
|
static String[] |
findClassesInPackage(String packageName,
List<String> included,
List<String> excluded) |
public static void addClassLoader(ClassLoader loader)
public static String[] findClassesInPackage(String packageName, List<String> included, List<String> excluded) throws IOException
packageName
- - The package nameincluded
- - The inclusion list.excluded
- - The exclusion listIOException
- - if there is an exception.Copyright © 2024. All rights reserved.