|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--koala.dynamicjava.util.FileFinder | +--koala.dynamicjava.util.LibraryFinder
The instances of LibraryFinder
are used to locate
files with given suffixes.
Constructor Summary | |
LibraryFinder()
Creates a new library finder |
Method Summary | |
void |
addSuffix(java.lang.String s)
Adds a file suffix, for example ".java" |
java.io.File |
findCompilationUnit(java.lang.String cname)
Looks for the dynamic class with the given name |
java.lang.String |
findCompilationUnitName(java.lang.String cname)
Finds the path where the given class is possibly stored |
Methods inherited from class koala.dynamicjava.util.FileFinder |
addPath, findFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LibraryFinder()
suffix
- the suffix of the source filesMethod Detail |
public void addSuffix(java.lang.String s)
public java.io.File findCompilationUnit(java.lang.String cname) throws java.lang.ClassNotFoundException
cname
- the fully qualified name of the class to findjava.lang.ClassNotFoundException
- if the class cannot be loadedpublic java.lang.String findCompilationUnitName(java.lang.String cname) throws java.lang.ClassNotFoundException
cname
- the fully qualified name of the class to find
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |