Package jline

Class CandidateListCompletionHandler

    • Method Detail

      • setBuffer

        public static void setBuffer​(ConsoleReader reader,
                                     java.lang.String value,
                                     int offset)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • printCandidates

        public static final void printCandidates​(ConsoleReader reader,
                                                 java.util.Collection candidates,
                                                 boolean eagerNewlines)
                                          throws java.io.IOException
        Print out the candidates. If the size of the candidates is greated than the getAutoprintThreshhold, they prompt with aq warning.
        Parameters:
        candidates - the list of candidates to print
        Throws:
        java.io.IOException