|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectkoala.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()
| Method 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 find
java.lang.ClassNotFoundException - if the class cannot be loaded
public java.lang.String findCompilationUnitName(java.lang.String cname)
throws java.lang.ClassNotFoundException
cname - the fully qualified name of the class to find
java.lang.ClassNotFoundException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||