public interface POSIXHandler
Modifier and Type | Interface and Description |
---|---|
static class |
POSIXHandler.WARNING_ID |
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() |
String[] |
getEnv() |
PrintStream |
getErrorStream()
Get your runtime's current ErrorStream
|
InputStream |
getInputStream() |
PrintStream |
getOutputStream() |
int |
getPID()
Get your runtime's process ID.
|
boolean |
isVerbose() |
void |
unimplementedError(String methodName)
Specify that posix method is unimplemented.
|
void |
warn(POSIXHandler.WARNING_ID id,
String message,
Object... data) |
void error(jnr.constants.platform.Errno error, String extraData)
void unimplementedError(String methodName)
methodName
- the POSIX method that failedvoid warn(POSIXHandler.WARNING_ID id, String message, Object... data)
boolean isVerbose()
File getCurrentWorkingDirectory()
String[] getEnv()
InputStream getInputStream()
PrintStream getOutputStream()
int getPID()
unimplementedError(String)
.PrintStream getErrorStream()
Copyright © 2020. All rights reserved.