Class JLineLibrary
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FileDescriptor
newFileDescriptor
(int fd) static ProcessBuilder.Redirect
-
Constructor Details
-
JLineLibrary
public JLineLibrary()
-
-
Method Details
-
newFileDescriptor
-
newRedirectPipe
-