Class ProcessBuilderCallable.ProcessWrapper
java.lang.Object
de.uplanet.lucy.server.auxiliaries.ProcessBuilderCallable.ProcessWrapper
- Enclosing class:
- ProcessBuilderCallable
Note: this class is not thread-safe.
- 
Method SummaryModifier and TypeMethodDescriptionvoidenvironmentAdd(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()
- 
Method Details- 
getCommand
- 
getCommandStr
- 
getWorkingDirectory
- 
setWorkingDirectory
- 
getEnvironment
- 
setEnvironment
- 
environmentAdd
- 
getExitCodepublic int getExitCode()
- 
isSuccesspublic boolean isSuccess()
- 
isErrorpublic boolean isError()
- 
getStreamEncoding
- 
setStreamEncoding
- 
isRedirectErrorStreampublic boolean isRedirectErrorStream()
- 
setRedirectErrorStreampublic void setRedirectErrorStream(boolean p_bRedirectErrorStream) 
- 
getStdOut- Throws:
- UnsupportedEncodingException
 
- 
getInputStream- See Also:
 
- 
getErrorStream- See Also:
 
- 
setOutputStream
- 
setOutputStream
- 
start- Throws:
- IOException
 
- 
startAndReadStdOut- Throws:
- IOException
 
- 
startAndWaitFor- Throws:
- IOException
- InterruptedException
 
- 
waitFor- Throws:
- InterruptedException
 
 
-