Package sqlline

Class 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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Set<java.lang.String> getClassNames()  
      • Methods inherited from class org.jline.reader.impl.completer.StringsCompleter

        complete
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClassNameCompleter

        public ClassNameCompleter()
                           throws java.io.IOException
        Completes candidates using all the classes available in the java CLASSPATH.
        Throws:
        java.io.IOException - on error
    • Method Detail

      • getClassNames

        public static java.util.Set<java.lang.String> getClassNames()
                                                             throws java.io.IOException
        Throws:
        java.io.IOException