Class JLineLibrary

java.lang.Object
org.jline.nativ.JLineLibrary

public class JLineLibrary extends Object
Native interface for JLine's low-level system operations.

This class provides access to native methods that are implemented in the JLine native library. It automatically initializes the native library using JLineNativeLoader.initialize() when the class is loaded.

The native methods in this class provide functionality that is not available through standard Java APIs, such as creating file descriptors and process redirects directly from file descriptors.

This class is primarily used internally by JLine's terminal implementations, particularly those that require direct access to native system calls. Users of JLine typically do not need to interact with this class directly.

If the native library cannot be loaded, attempts to use methods in this class will result in UnsatisfiedLinkError exceptions.

See Also: