Package hudson.os
Class PosixAPI
java.lang.Object
hudson.os.PosixAPI
POSIX API wrapper.
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic jnr.posix.POSIX
jnr()
Load the JNR implementation of the POSIX APIs for the current platform.
-
Constructor Details
-
PosixAPI
public PosixAPI()
-
-
Method Details
-
jnr
public static jnr.posix.POSIX jnr()Load the JNR implementation of the POSIX APIs for the current platform. Runtime exceptions will be of typeRuntimeException
.IllegalStateException
will be thrown for methods not implemented on this platform.- Returns:
- some implementation (even on Windows or unsupported Unix)
-