Package org.adempiere.webui.util
Class OSTask
- java.lang.Object
-
- java.lang.Thread
-
- org.adempiere.webui.util.OSTask
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuffer
getErr()
Get Err InfoOutputStream
getInStream()
Get The process input stream - i.e. we output to itStringBuffer
getOut()
Get Out Infovoid
run()
Execute it-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
OSTask
public OSTask(String cmd)
Create Process with cmd- Parameters:
cmd
- o/s command
-
-
Method Detail
-
run
public void run()
Execute it
-
getOut
public StringBuffer getOut()
Get Out Info- Returns:
- StringBuffer
-
getErr
public StringBuffer getErr()
Get Err Info- Returns:
- StringBuffer
-
getInStream
public OutputStream getInStream()
Get The process input stream - i.e. we output to it- Returns:
- OutputStream
-
-