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:
org.jline.reader,LineReaderBuilder
-
Class Summary Class Description BufferImpl Default implementation of theBufferinterface.CompletionMatcherImpl Default implementation of theCompletionMatcherinterface.DefaultExpander Default implementation of theExpanderinterface.DefaultHighlighter Default implementation of theHighlighterinterface.DefaultParser Default implementation of theParserinterface.DefaultParser.BlockCommentDelims Class representing block comment delimiters.InputRC Handles inputrc configuration files for JLine.KillRing The kill ring class keeps killed text in a fixed size ring.LineReaderImpl The default implementation of theLineReaderinterface.LineReaderImpl.PostResult ReaderUtils Utility methods for LineReader implementations.SimpleMaskingCallback SimpleMaskingCallbackthat will replace all the characters in the line with the given mask.UndoTree<T> Provides undo/redo functionality for the LineReader. -
Enum Summary Enum Description DefaultParser.Bracket Enumeration of bracket types that can be used for EOF detection on unclosed brackets.LineReaderImpl.BellType LineReaderImpl.CompletionType LineReaderImpl.State Possible states in which the current readline operation may be in.LineReaderImpl.ViMoveMode