|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfreemind.extensions.ImportWizard
Converts an unqualified class name to import statements by scanning through the classpath.
Field Summary | |
java.util.Vector |
CLASS_LIST
Stores the list of all classes in the classpath |
java.lang.String |
lookFor
|
Constructor Summary | |
ImportWizard()
|
Method Summary | |
void |
addClassesFromDir(java.util.Vector classList,
java.io.File rootDir,
java.io.File currentDir)
Adds the classes from the supplied directory to the class list. |
void |
addClassesFromZip(java.util.Vector classList,
java.io.File classPathFile)
Adds the classes from the supplied Zip file to the class list. |
void |
buildClassList()
Build the list of classes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public final java.lang.String lookFor
public java.util.Vector CLASS_LIST
Constructor Detail |
public ImportWizard()
Method Detail |
public void buildClassList()
public void addClassesFromZip(java.util.Vector classList, java.io.File classPathFile)
classList
- the Vector to add the classes toclassPathFile
- the File to scan as a zip filepublic void addClassesFromDir(java.util.Vector classList, java.io.File rootDir, java.io.File currentDir)
classList
- the Vector to add the classes to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |