类 ShellTools.BackgroundProcess
java.lang.Object
com.agentsflex.tool.commons.ShellTools.BackgroundProcess
- 封闭类:
- ShellTools
-
字段概要
字段修饰符和类型字段说明(专用程序包) int(专用程序包) int(专用程序包) final Process(专用程序包) final StringBuilder(专用程序包) final Thread(专用程序包) final StringBuilder(专用程序包) final Thread -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明(专用程序包) voiddestroy()private StringfilterOutput(String output, Pattern pattern) (专用程序包) int(专用程序包) StringgetNewOutput(String filter) (专用程序包) booleanisAlive()
-
字段详细资料
-
process
-
stdout
-
stderr
-
stdoutReader
-
stderrReader
-
lastStdoutPosition
-
lastStderrPosition
-
-
构造器详细资料
-
BackgroundProcess
BackgroundProcess(Process process)
-
-
方法详细资料
-
getNewOutput
-
filterOutput
-
isAlive
boolean isAlive() -
destroy
void destroy() -
getExitCode
int getExitCode()
-