|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jline.SimpleCompletor jline.ClassNameCompletor
public class ClassNameCompletor
A Completor implementation that completes java class names. By default, it scans the java class path to locate all the classes.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class jline.SimpleCompletor |
---|
SimpleCompletor.NoOpFilter, SimpleCompletor.SimpleCompletorFilter |
Field Summary |
---|
Fields inherited from class jline.SimpleCompletor |
---|
candidates, delimiter, filter |
Constructor Summary | |
---|---|
ClassNameCompletor()
Complete candidates using all the classes available in the java CLASSPATH. |
|
ClassNameCompletor(SimpleCompletor.SimpleCompletorFilter filter)
|
Method Summary | |
---|---|
private static Set |
getClassFiles(String root,
Set holder,
File directory,
int[] maxDirectories)
|
static String[] |
getClassNames()
|
Methods inherited from class jline.SimpleCompletor |
---|
addCandidateString, clone, complete, getCandidates, getDelimiter, setCandidates, setCandidateStrings, setDelimiter |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassNameCompletor() throws IOException
IOException
public ClassNameCompletor(SimpleCompletor.SimpleCompletorFilter filter) throws IOException
IOException
Method Detail |
---|
public static String[] getClassNames() throws IOException
IOException
private static Set getClassFiles(String root, Set holder, File directory, int[] maxDirectories)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |