Package sqlline
Class ClassNameCompleter
java.lang.Object
org.jline.reader.impl.completer.StringsCompleter
sqlline.ClassNameCompleter
- All Implemented Interfaces:
org.jline.reader.Completer
public class ClassNameCompleter
extends org.jline.reader.impl.completer.StringsCompleter
An implementation of
Completer
that completes
java class names. By default, it scans the java class path to locate all the
classes.-
Constructor Summary
Constructors Constructor Description ClassNameCompleter()
Completes candidates using all the classes available in the java CLASSPATH. -
Method Summary
Modifier and Type Method Description static java.util.Set<java.lang.String>
getClassNames()
-
Constructor Details
-
ClassNameCompleter
public ClassNameCompleter() throws java.io.IOExceptionCompletes candidates using all the classes available in the java CLASSPATH.- Throws:
java.io.IOException
- on error
-
-
Method Details
-
getClassNames
public static java.util.Set<java.lang.String> getClassNames() throws java.io.IOException- Throws:
java.io.IOException
-