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()
String
void removeListener(IStreamListener listener)
listener
- the listener to remove
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.