Uses of Interface
org.jline.reader.LineReader
Packages that use LineReader
Package
Description
JLine 3 Reader Package - Core components for building interactive command-line interfaces.
JLine 3 Reader Implementation Package.
JLine 3 Completer Implementations.
JLine 3 History Implementation Package.
-
Uses of LineReader in org.jline.reader
Methods in org.jline.reader that return LineReaderModifier and TypeMethodDescriptionLineReaderBuilder.build()
Builds and returns a LineReader instance with the configured options.LineReader.option
(LineReader.Option option, boolean value) Sets an option in the LineReader and returns the LineReader for method chaining.Sets a variable in the LineReader and returns the LineReader for method chaining.Methods in org.jline.reader with parameters of type LineReaderModifier and TypeMethodDescriptionvoid
History.attach
(LineReader reader) Initialize the history for the given reader.void
Completer.complete
(LineReader reader, ParsedLine line, List<Candidate> candidates) Populates candidates with a list of possible completions for the command line.org.jline.utils.AttributedString
Highlighter.highlight
(LineReader reader, String buffer) Highlights the provided text buffer with appropriate styling.default void
Highlighter.refresh
(LineReader reader) Refreshes the highlighter's configuration.Constructors in org.jline.reader with parameters of type LineReader -
Uses of LineReader in org.jline.reader.impl
Classes in org.jline.reader.impl that implement LineReaderMethods in org.jline.reader.impl that return LineReaderMethods in org.jline.reader.impl with parameters of type LineReaderModifier and TypeMethodDescriptionprotected void
DefaultHighlighter.commandStyle
(LineReader reader, org.jline.utils.AttributedStringBuilder sb, boolean enable) static void
InputRC.configure
(LineReader reader, InputStream is) Configures a LineReader from an inputrc file.static void
InputRC.configure
(LineReader reader, Reader r) Configures a LineReader from an inputrc file.static void
InputRC.configure
(LineReader reader, URL url) Configures a LineReader from an inputrc file at the specified URL.static boolean
ReaderUtils.getBoolean
(LineReader reader, String name, boolean def) Gets a boolean variable from a LineReader with a default value.static int
ReaderUtils.getInt
(LineReader reader, String name, int def) Gets an integer variable from a LineReader with a default value.static long
ReaderUtils.getLong
(LineReader reader, String name, long def) Gets a long variable from a LineReader with a default value.static String
ReaderUtils.getString
(LineReader reader, String name, String def) Gets a string variable from a LineReader with a default value.org.jline.utils.AttributedString
DefaultHighlighter.highlight
(LineReader reader, String buffer) static boolean
ReaderUtils.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 LineReaderModifier and TypeMethodDescriptionvoid
AggregateCompleter.complete
(LineReader reader, ParsedLine line, List<Candidate> candidates) Perform a completion operation across all aggregated completers.void
ArgumentCompleter.complete
(LineReader reader, ParsedLine line, List<Candidate> candidates) void
FileNameCompleter.complete
(LineReader reader, ParsedLine commandLine, List<Candidate> candidates) Deprecated.void
NullCompleter.complete
(LineReader reader, ParsedLine line, List<Candidate> candidates) void
StringsCompleter.complete
(LineReader reader, ParsedLine commandLine, List<Candidate> candidates) void
SystemCompleter.complete
(LineReader reader, ParsedLine commandLine, List<Candidate> candidates) -
Uses of LineReader in org.jline.reader.impl.history
Methods in org.jline.reader.impl.history with parameters of type LineReaderModifier and TypeMethodDescriptionvoid
DefaultHistory.attach
(LineReader reader) Attaches this history to a LineReader.Constructors in org.jline.reader.impl.history with parameters of type LineReaderModifierConstructorDescriptionDefaultHistory
(LineReader reader) Creates a new DefaultHistory instance and attaches it to the specified LineReader.