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 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:
-
ClassDescriptionDefault implementation of the
Buffer
interface.Default implementation of theCompletionMatcher
interface.Default implementation of theExpander
interface.Default implementation of theHighlighter
interface.Default implementation of theParser
interface.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 theLineReader
interface.Possible states in which the current readline operation may be in.Utility methods for LineReader implementations.SimpleMaskingCallback
that will replace all the characters in the line with the given mask.UndoTree<T>Provides undo/redo functionality for the LineReader.