sleep.bridges.io

Class ProcessObject


public class ProcessObject
extends IOObject

Field Summary

protected Process
process

Fields inherited from class sleep.bridges.io.IOObject

buffer, in, out, reader, readerb, readeru, thread, token, writerb, writeru

Method Summary

void
close()
Object
getSource()
returns the Process object used by this IO implementation
void
open(command[] , String[] environment, File startDir, ScriptEnvironment env)
Scalar
wait(ScriptEnvironment env, long timeout)

Methods inherited from class sleep.bridges.io.IOObject

close, getBuffer, getConsole, getInputBuffer, getInputStream, getOutputStream, getReader, getSource, getThread, getToken, getWriter, isEOF, openRead, openWrite, print, printLine, readCharacter, readLine, sendEOF, setEncoding, setThread, setToken, wait

Field Details

process

protected Process process

Method Details

close

public void close()
Overrides:
close in interface IOObject

getSource

public Object getSource()
returns the Process object used by this IO implementation
Overrides:
getSource in interface IOObject

open

public void open(command[] ,
                 String[] environment,
                 File startDir,
                 ScriptEnvironment env)

wait

public Scalar wait(ScriptEnvironment env,
                   long timeout)
Overrides:
wait in interface IOObject