public abstract class ClassRoot extends ClassPackage implements TraversalRoot
| Modifier | Constructor and Description |
|---|---|
protected |
ClassRoot(File rootFile) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addVersion(VersionRoot versionRoot) |
Manifest |
getManifest() |
abstract URL |
getResource(String name) |
InputStream |
getResourceAsStream(String name) |
ClassRoot |
getRoot() |
File |
getRootFile() |
URI |
getURI() |
protected abstract void |
scan(ClassCollector classCollector) |
String |
toString() |
void |
traverse(NamePattern pattern,
ClassVisitor visitor) |
addClass, getAlternatives, getClass, getClasses, getClassName, getPackageName, getParent, getShortName, getSubPackage, getSubPackages, traverseprotected ClassRoot(File rootFile)
protected abstract void scan(ClassCollector classCollector) throws IOException
IOExceptionprotected final void addVersion(VersionRoot versionRoot)
public final void traverse(NamePattern pattern, ClassVisitor visitor)
traverse in interface TraversalRootpublic final ClassRoot getRoot()
getRoot in class ClassPackagepublic final File getRootFile()
public InputStream getResourceAsStream(String name)
public Manifest getManifest() throws IOException
IOExceptionpublic URI getURI()
public String toString()
toString in class ClassPackageCopyright © 2017–2025 Hans Jörg Heßmann. All rights reserved.