|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A streams proxy acts as proxy between the streams of a
process and interested clients. This abstraction allows
implementations of IProcess
to handle I/O related
to the standard input, output, and error streams associated
with a process.
Clients implementing the IProcess
interface must also
provide an implementation of this interface.
IProcess
Method Summary | |
IStreamMonitor |
getErrorStreamMonitor()
Returns a monitor for the error stream of this proxy's process, or null if not supported. |
IStreamMonitor |
getOutputStreamMonitor()
Returns a monitor for the output stream of this proxy's process, or null if not supported. |
void |
write(String input)
Writes the given text to the output stream connected to the standard input stream of this proxy's process. |
Method Detail |
public IStreamMonitor getErrorStreamMonitor()
null
if not supported.
The monitor is connected to the error stream of the
associated process.
null
if nonepublic IStreamMonitor getOutputStreamMonitor()
null
if not supported.
The monitor is connected to the output stream of the
associated process.
null
if nonepublic void write(String input) throws IOException
input
- the text to be written
IOException
- when an error occurs writing to the
underlying OutputStream
.
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |