public static class SimpleCLIPanel.CommandlineCompletion
extends java.lang.Object
| Constructor and Description | 
|---|
| CommandlineCompletion()default constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Vector<java.lang.String> | getClassMatches(java.lang.String partial)returns all the class/package matches with the partial search string. | 
| java.lang.String | getClassname(java.lang.String partial)returns the classname part of the partial classname. | 
| java.lang.String | getCommonPrefix(java.util.Vector<java.lang.String> list)returns the common prefix for all the items in the list. | 
| boolean | getDebug()returns whether debug mode is on. | 
| java.util.Vector<java.lang.String> | getFileMatches(java.lang.String partial)returns all the file/dir matches with the partial search string. | 
| java.util.Vector<java.lang.String> | getMatches(java.lang.String partial)returns all the matches with the partial search string, files or
 classes. | 
| java.lang.String | getPackage(java.lang.String partial)returns the packages part of the partial classname. | 
| boolean | isClassname(java.lang.String partial)tests whether the given partial string is the name of a class with
 classpath - it basically tests, whether the string consists only
 of alphanumeric literals, underscores and dots. | 
| void | setDebug(boolean value)sets debug mode on/off. | 
public boolean getDebug()
public void setDebug(boolean value)
value - if true then debug mode is onpublic boolean isClassname(java.lang.String partial)
partial - the string to testpublic java.lang.String getPackage(java.lang.String partial)
partial - the partial classnamepublic java.lang.String getClassname(java.lang.String partial)
partial - the partial classnamepublic java.util.Vector<java.lang.String> getFileMatches(java.lang.String partial)
partial - the partial search stringpublic java.util.Vector<java.lang.String> getClassMatches(java.lang.String partial)
partial - the partial search stringpublic java.util.Vector<java.lang.String> getMatches(java.lang.String partial)
partial - the partial search stringpublic java.lang.String getCommonPrefix(java.util.Vector<java.lang.String> list)
list - the list to return the common prefix for