public class DefaultPOSIXHandler extends Object implements POSIXHandler
POSIXHandler.WARNING_ID| Constructor and Description |
|---|
DefaultPOSIXHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(jnr.constants.platform.Errno error,
String extraData) |
void |
error(jnr.constants.platform.Errno error,
String methodName,
String extraData) |
File |
getCurrentWorkingDirectory()
Get current working directory of your runtime.
|
String[] |
getEnv()
Get current set of environment variables of your runtime.
|
PrintStream |
getErrorStream()
Get your runtime's current ErrorStream
|
InputStream |
getInputStream()
Get your runtime's current InputStream
|
PrintStream |
getOutputStream()
Get your runtime's current OutputStream
|
int |
getPID()
Get your runtimes process ID.
|
boolean |
isVerbose()
Should we provide verbose output about POSIX activities
|
void |
unimplementedError(String methodName)
Specify that posix method is unimplemented.
|
void |
warn(POSIXHandler.WARNING_ID id,
String message,
Object... data) |
public void error(jnr.constants.platform.Errno error,
String extraData)
error in interface POSIXHandlerpublic void error(jnr.constants.platform.Errno error,
String methodName,
String extraData)
error in interface POSIXHandlerpublic void unimplementedError(String methodName)
POSIXHandlerunimplementedError in interface POSIXHandlerpublic void warn(POSIXHandler.WARNING_ID id, String message, Object... data)
warn in interface POSIXHandlerpublic boolean isVerbose()
POSIXHandlerisVerbose in interface POSIXHandlerpublic File getCurrentWorkingDirectory()
POSIXHandlergetCurrentWorkingDirectory in interface POSIXHandlerpublic String[] getEnv()
POSIXHandlergetEnv in interface POSIXHandlerpublic InputStream getInputStream()
POSIXHandlergetInputStream in interface POSIXHandlerpublic PrintStream getOutputStream()
POSIXHandlergetOutputStream in interface POSIXHandlerpublic int getPID()
POSIXHandlergetPID in interface POSIXHandlerpublic PrintStream getErrorStream()
POSIXHandlergetErrorStream in interface POSIXHandlerCopyright © 2016. All Rights Reserved.