Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.debug.core.model
Interface IStreamsProxy

All Known Subinterfaces:
IStreamsProxy2

public interface IStreamsProxy

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.

See Also:
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

getErrorStreamMonitor

IStreamMonitor getErrorStreamMonitor()
Returns a monitor for the error stream of this proxy's process, or null if not supported. The monitor is connected to the error stream of the associated process.

Returns:
an error stream monitor, or null if none

getOutputStreamMonitor

IStreamMonitor getOutputStreamMonitor()
Returns a monitor for the output stream of this proxy's process, or null if not supported. The monitor is connected to the output stream of the associated process.

Returns:
an output stream monitor, or null if none

write

void write(
String input)
           throws 
IOException
Writes the given text to the output stream connected to the standard input stream of this proxy's process.

Parameters:
input - the text to be written
Throws:
IOException - when an error occurs writing to the underlying OutputStream.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire