Package org.jline.reader.impl
package org.jline.reader.impl
JLine 3 Reader Implementation Package.
This package provides the core implementations of the interfaces defined in the
org.jline.reader package. These implementations form the foundation of
JLine's line editing and command processing capabilities.
Key implementation classes include:
LineReaderImpl- The main implementation of theLineReaderinterface, providing line editing, history navigation, completion, and other interactive featuresDefaultParser- Implementation of theParserinterface for tokenizing command linesDefaultHighlighter- Implementation of theHighlighterinterface for syntax highlightingDefaultExpander- Implementation of theExpanderinterface for expanding history references and variablesCompletionMatcherImpl- Implementation of theCompletionMatcherinterface for matching completion candidatesBufferImpl- Implementation of theBufferinterface for managing the line buffer
This package also contains utility classes that support the main implementations:
ReaderUtils- Utility methods for LineReader implementationsUndoTree- Provides undo/redo functionalityKillRing- Implements a kill ring for cut/paste operationsInputRC- Handles inputrc configuration files
Most users will not need to interact directly with these implementation classes,
but instead should use the LineReaderBuilder to create
properly configured instances.
- Since:
- 3.0
- See Also:
-
ClassDescriptionDefault implementation of the
Bufferinterface.Default implementation of theCompletionMatcherinterface.Default implementation of theExpanderinterface.Default implementation of theHighlighterinterface.Default implementation of theParserinterface.Class representing block comment delimiters.Enumeration of bracket types that can be used for EOF detection on unclosed brackets.Handles inputrc configuration files for JLine.The kill ring class keeps killed text in a fixed size ring.The default implementation of theLineReaderinterface.Possible states in which the current readline operation may be in.Utility methods for LineReader implementations.SimpleMaskingCallbackthat will replace all the characters in the line with the given mask.UndoTree<T>Provides undo/redo functionality for the LineReader.