Package org.jline.utils
package org.jline.utils
JLine utility classes.
This package contains utility classes for terminal operations, including text styling,
cursor manipulation, ANSI escape sequence handling, and other terminal-related functionality.
- Since:
- 3.0
-
ClassDescriptionA writer that processes ANSI escape sequences.A character sequence with ANSI style attributes.Enum defining color mode forcing options for ANSI rendering.An immutable character sequence with ANSI style attributes.A mutable builder for creating styled text strings with ANSI attributes.Text styling for terminal output with support for colors, fonts, and other attributes.Exception thrown when attempting to use a closed resource.Color palette for terminal color management and conversion.Utility class for color-related operations and definitions.Utility class for terminal cursor and screen manipulation using ANSI escape sequences.Utility class for computing differences between strings with ANSI attribute awareness.Class representing one diff operation.The data structure representing a diff is a Linked list of Diff objects: {Diff(Operation.DELETE, "Hello"), Diff(Operation.INSERT, "Goodbye"), Diff(Operation.EQUAL, " world.")} which means: delete "Hello", add "Goodbye" and keep " world."Manages terminal display and efficient screen updates with cursor positioning.Utility class for executing external commands and capturing their output.A simple, non-synchronized buffered output stream for improved performance.Utility class for terminal capability handling and terminfo database access.A specialized InputStreamReader that reads the minimal number of bytes needed.Utility class for computing string similarity using the Damerau-Levenshtein algorithm.Internal logging utility for JLine components.Factory class for creating non-blocking I/O components.An input stream that supports non-blocking read operations with timeouts.This class wraps a regular input stream and allows it to appear as if it is non-blocking; that is, reads can be performed against it that timeout if no data is seen for a period of time.A reader that provides non-blocking read operations.This class wraps a regular reader and allows it to appear as if it is non-blocking; that is, reads can be performed against it that timeout if no data is seen for a period of time.Utility class for operating system detection and OS-specific operations.A reader implementation with an associated writer for buffered character transfer.Manages the JLine shutdown-hook thread and tasks to execute on shutdown.Essentially a
Runnable
which allows running to throw an exception.Signal handling utilities for terminal applications.Manages a status bar at the bottom of the terminal.Resolves named styles and style expressions into AttributedStyle objects.Helper class for managing timeouts during I/O operations.Utility class for determining the display width of Unicode characters.An OutputStream implementation that writes to a Writer, bridging byte and character streams.