Class ReaderUtils

java.lang.Object
org.jline.reader.impl.ReaderUtils

public class ReaderUtils extends Object
Utility methods for LineReader implementations.

This class provides helper methods for working with LineReader variables and options. It includes methods for retrieving variables of different types (string, boolean, integer, long) with default values, checking if options are set, and calculating string distances for completion matching.

These utilities are primarily used by the LineReader implementation classes to access configuration values in a consistent way, with proper type conversion and default handling.

See Also: