Package hudson.os
Class PosixAPI
- java.lang.Object
-
- hudson.os.PosixAPI
-
public class PosixAPI extends Object
POSIX API wrapper.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description PosixAPI()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static jnr.posix.POSIX
jnr()
Load the JNR implementation of the POSIX APIs for the current platform.
-
-
-
Method Detail
-
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)
-
-