Klasse ProcessBuilderCallable.ProcessWrapper
java.lang.Object
de.uplanet.lucy.server.auxiliaries.ProcessBuilderCallable.ProcessWrapper
- Umschließende Klasse:
ProcessBuilderCallable
Note: this class is not thread-safe.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidenvironmentAdd(Map<String, String> p_env) intbooleanisError()booleanbooleanvoidsetEnvironment(Map<String, String> p_env) voidsetOutputStream(OutputStream p_out) voidsetOutputStream(Writer p_writer) voidsetRedirectErrorStream(boolean p_bRedirectErrorStream) voidsetStreamEncoding(String p_strStreamEncoding) voidsetWorkingDirectory(String p_strDir) voidstart()voidvoidvoidwaitFor()
-
Methodendetails
-
getCommand
-
getCommandStr
-
getWorkingDirectory
-
setWorkingDirectory
-
getEnvironment
-
setEnvironment
-
environmentAdd
-
getExitCode
public int getExitCode() -
isSuccess
public boolean isSuccess() -
isError
public boolean isError() -
getStreamEncoding
-
setStreamEncoding
-
isRedirectErrorStream
public boolean isRedirectErrorStream() -
setRedirectErrorStream
public void setRedirectErrorStream(boolean p_bRedirectErrorStream) -
getStdOut
- Löst aus:
UnsupportedEncodingException
-
getInputStream
- Siehe auch:
-
getErrorStream
- Siehe auch:
-
setOutputStream
-
setOutputStream
-
start
- Löst aus:
IOException
-
startAndReadStdOut
- Löst aus:
IOException
-
startAndWaitFor
- Löst aus:
IOExceptionInterruptedException
-
waitFor
- Löst aus:
InterruptedException
-