Package org.apache.uima.pear.util
Class ProcessUtil
- java.lang.Object
-
- org.apache.uima.pear.util.ProcessUtil
-
public class ProcessUtil extends java.lang.Object
TheProcessUtil
class encapsulates utilities that help in dealing withProcess
objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProcessUtil.Runner
TheProcessUtil.Runner
class allows collecting, printing and distributing console output (stdout and stderr) of the specifiedProcess
without blocking the caller.static interface
ProcessUtil.StdStreamListener
TheStdStreamListener
interface defines 2 methods that should be implemented by a standard stream listener to get console messages ('stderr' and 'stdout' streams) printed by selected process.
-
Constructor Summary
Constructors Constructor Description ProcessUtil()
-