public interface IStreamMonitor
Clients may implement this interface. Generally, a client that
provides an implementation of the IStreamsProxy
interface must also provide an implementation of this interface.
IStreamsProxy,
IFlushableStreamMonitor| Modifier and Type | Method and Description |
|---|---|
void |
addListener(IStreamListener listener)
Adds the given listener to this stream monitor's registered listeners.
|
String |
getContents()
Returns the entire current contents of the stream.
|
void |
removeListener(IStreamListener listener)
Removes the given listener from this stream monitor's registered listeners.
|
void addListener(IStreamListener listener)
listener - the listener to addString getContents()
Stringvoid removeListener(IStreamListener listener)
listener - the listener to removeGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.