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 ofCompleter
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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<String>
getClassNames()
-
-
-
Constructor Detail
-
ClassNameCompleter
public ClassNameCompleter() throws IOException
Completes candidates using all the classes available in the java CLASSPATH.- Throws:
IOException
- on error
-
-
Method Detail
-
getClassNames
public static Set<String> getClassNames() throws IOException
- Throws:
IOException
-
-