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 theLineReader
interface, providing line editing, history navigation, completion, and other interactive featuresDefaultParser
- Implementation of theParser
interface for tokenizing command linesDefaultHighlighter
- Implementation of theHighlighter
interface for syntax highlightingDefaultExpander
- Implementation of theExpander
interface for expanding history references and variablesCompletionMatcherImpl
- Implementation of theCompletionMatcher
interface for matching completion candidatesBufferImpl
- Implementation of theBuffer
interface 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 theBuffer
interface.CompletionMatcherImpl Default implementation of theCompletionMatcher
interface.DefaultExpander Default implementation of theExpander
interface.DefaultHighlighter Default implementation of theHighlighter
interface.DefaultParser Default implementation of theParser
interface.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 theLineReader
interface.LineReaderImpl.PostResult ReaderUtils Utility methods for LineReader implementations.SimpleMaskingCallback SimpleMaskingCallback
that 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