|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfreemind.extensions.ImportWizard
public class 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(FreeMindMain frame)
|
Method Summary | |
---|---|
void |
addClassesFromDir(java.util.Vector classList,
java.io.File rootDir,
java.io.File currentDir,
int recursionLevel)
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(FreeMindMain frame)
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, int recursionLevel)
classList
- the Vector to add the classes tocurrentDir
- the File to recursively scan as a directoryrecursionLevel
- To ensure that after a certain depth the recursive directory search stops
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |