|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsleep.bridges.io.IOObject
sleep.bridges.io.ProcessObject
public class ProcessObject
Field Summary | |
---|---|
protected java.lang.Process |
process
|
Fields inherited from class sleep.bridges.io.IOObject |
---|
buffer, in, out, reader, readerb, readeru, thread, token, writerb, writeru |
Constructor Summary | |
---|---|
ProcessObject()
|
Method Summary | |
---|---|
void |
close()
Closes all of the reader's / writer's opened by this IOObject. |
java.lang.Object |
getSource()
returns the Process object used by this IO implementation |
void |
open(java.lang.String[] command,
java.lang.String[] environment,
java.io.File startDir,
ScriptEnvironment env)
|
Scalar |
wait(ScriptEnvironment env,
long timeout)
|
Methods inherited from class sleep.bridges.io.IOObject |
---|
getBuffer, getConsole, getInputBuffer, getInputStream, getOutputStream, getReader, getThread, getToken, getWriter, isEOF, openRead, openWrite, print, printLine, readCharacter, readLine, sendEOF, setEncoding, setThread, setToken |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.Process process
Constructor Detail |
---|
public ProcessObject()
Method Detail |
---|
public java.lang.Object getSource()
getSource
in class IOObject
public void open(java.lang.String[] command, java.lang.String[] environment, java.io.File startDir, ScriptEnvironment env)
public Scalar wait(ScriptEnvironment env, long timeout)
wait
in class IOObject
public void close()
IOObject
close
in class IOObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |