|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.meta.java.lang.ProcessSugar
Untamed: A sweetener defining extra messages that may be e-sent to Processes.
Constructor Summary | |
private |
ProcessSugar()
prevent instantiation |
Method Summary | |
static CharPipeAdapter |
attachStderr(Process self,
Writer alterr)
Enabled: |
static CharPipeAdapter |
attachStdin(Process self,
Reader altin)
Enabled: |
static CharPipeAdapter |
attachStdout(Process self,
Writer altout)
Enabled: |
static BufferedReader |
getStderr(Process self)
Enabled: |
static TextWriter |
getStdin(Process self)
Enabled: |
static BufferedReader |
getStdout(Process self)
Enabled: |
static Object[] |
results(Process self)
Enabled: Use only on prompt processes, as this will block the vat until the process completes! |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
private ProcessSugar()
Method Detail |
public static TextWriter getStdin(Process self)
self
-
public static CharPipeAdapter attachStdin(Process self, Reader altin)
self
- altin
-
public static BufferedReader getStdout(Process self)
self
-
public static CharPipeAdapter attachStdout(Process self, Writer altout)
self
- altout
-
public static BufferedReader getStderr(Process self)
self
-
public static CharPipeAdapter attachStderr(Process self, Writer alterr)
self
- alterr
-
public static Object[] results(Process self) throws InterruptedException
Waits for the Process to exit.
InterruptedException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |