Uses of Interface
org.jline.reader.LineReader
-
Packages that use LineReader Package Description org.jline.reader JLine 3 Reader Package - Core components for building interactive command-line interfaces.org.jline.reader.impl JLine 3 Reader Implementation Package.org.jline.reader.impl.completer JLine 3 Completer Implementations.org.jline.reader.impl.history JLine 3 History Implementation Package. -
-
Uses of LineReader in org.jline.reader
Methods in org.jline.reader that return LineReader Modifier and Type Method Description LineReaderLineReaderBuilder. build()Builds and returns a LineReader instance with the configured options.LineReaderLineReader. option(LineReader.Option option, boolean value)Sets an option in the LineReader and returns the LineReader for method chaining.LineReaderLineReader. variable(java.lang.String name, java.lang.Object value)Sets a variable in the LineReader and returns the LineReader for method chaining.Methods in org.jline.reader with parameters of type LineReader Modifier and Type Method Description voidHistory. attach(LineReader reader)Initialize the history for the given reader.voidCompleter. complete(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)Populates candidates with a list of possible completions for the command line.org.jline.utils.AttributedStringHighlighter. highlight(LineReader reader, java.lang.String buffer)Highlights the provided text buffer with appropriate styling.default voidHighlighter. refresh(LineReader reader)Refreshes the highlighter's configuration.Constructors in org.jline.reader with parameters of type LineReader Constructor Description PrintAboveWriter(LineReader reader) -
Uses of LineReader in org.jline.reader.impl
Classes in org.jline.reader.impl that implement LineReader Modifier and Type Class Description classLineReaderImplThe default implementation of theLineReaderinterface.Methods in org.jline.reader.impl that return LineReader Modifier and Type Method Description LineReaderLineReaderImpl. option(LineReader.Option option, boolean value)LineReaderLineReaderImpl. variable(java.lang.String name, java.lang.Object value)Methods in org.jline.reader.impl with parameters of type LineReader Modifier and Type Method Description protected voidDefaultHighlighter. commandStyle(LineReader reader, org.jline.utils.AttributedStringBuilder sb, boolean enable)static voidInputRC. configure(LineReader reader, java.io.InputStream is)Configures a LineReader from an inputrc file.static voidInputRC. configure(LineReader reader, java.io.Reader r)Configures a LineReader from an inputrc file.static voidInputRC. configure(LineReader reader, java.net.URL url)Configures a LineReader from an inputrc file at the specified URL.static booleanReaderUtils. getBoolean(LineReader reader, java.lang.String name, boolean def)Gets a boolean variable from a LineReader with a default value.static intReaderUtils. getInt(LineReader reader, java.lang.String name, int def)Gets an integer variable from a LineReader with a default value.static longReaderUtils. getLong(LineReader reader, java.lang.String name, long def)Gets a long variable from a LineReader with a default value.static java.lang.StringReaderUtils. getString(LineReader reader, java.lang.String name, java.lang.String def)Gets a string variable from a LineReader with a default value.org.jline.utils.AttributedStringDefaultHighlighter. highlight(LineReader reader, java.lang.String buffer)static booleanReaderUtils. isSet(LineReader reader, LineReader.Option option)Checks if a LineReader option is set. -
Uses of LineReader in org.jline.reader.impl.completer
Methods in org.jline.reader.impl.completer with parameters of type LineReader Modifier and Type Method Description voidAggregateCompleter. complete(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)Perform a completion operation across all aggregated completers.voidArgumentCompleter. complete(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)voidFileNameCompleter. complete(LineReader reader, ParsedLine commandLine, java.util.List<Candidate> candidates)Deprecated.voidNullCompleter. complete(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)voidStringsCompleter. complete(LineReader reader, ParsedLine commandLine, java.util.List<Candidate> candidates)voidSystemCompleter. complete(LineReader reader, ParsedLine commandLine, java.util.List<Candidate> candidates) -
Uses of LineReader in org.jline.reader.impl.history
Methods in org.jline.reader.impl.history with parameters of type LineReader Modifier and Type Method Description voidDefaultHistory. attach(LineReader reader)Attaches this history to a LineReader.Constructors in org.jline.reader.impl.history with parameters of type LineReader Constructor Description DefaultHistory(LineReader reader)Creates a new DefaultHistory instance and attaches it to the specified LineReader.
-