public class ClassPath extends Object implements Restorable<ClassPath>
Modifier and Type | Field and Description |
---|---|
protected ArrayList<ClassFileContainer> |
pathElements |
Constructor and Description |
---|
ClassPath() |
ClassPath(String[] pathNames) |
Modifier and Type | Method and Description |
---|---|
void |
addPathName(String pathName) |
protected static void |
error(String msg) |
ClassFileMatch |
findMatch(String clsName) |
byte[] |
getClassData(String clsName) |
Memento<ClassPath> |
getMemento() |
Memento<ClassPath> |
getMemento(MementoFactory factory) |
String[] |
getPathNames() |
static void |
main(String[] args) |
String |
toString() |
protected ArrayList<ClassFileContainer> pathElements
public ClassPath()
public ClassPath(String[] pathNames)
public Memento<ClassPath> getMemento(MementoFactory factory)
getMemento
in interface Restorable<ClassPath>
public void addPathName(String pathName)
public String[] getPathNames()
protected static void error(String msg) throws ClassParseException
ClassParseException
public ClassFileMatch findMatch(String clsName) throws ClassParseException
ClassParseException
public byte[] getClassData(String clsName) throws ClassParseException
ClassParseException
public static void main(String[] args)