public class ClassDirectory extends Object
Modifier and Type | Method and Description |
---|---|
static ClassDirectory |
forClassLoader(ClassLoader loader)
Get a class directory for a specific class loader.
|
static ClassDirectory |
forCurrentClassLoader()
Get a class directory for the current thread's class loader.
|
Set<String> |
getPackages(String name)
Get the packages that contain a class with the specified name.
|
public static ClassDirectory forCurrentClassLoader()
public static ClassDirectory forClassLoader(ClassLoader loader)
loader
- The class loader.