public interface IFlushableStreamMonitor extends IStreamMonitor
Clients may implement this interface.
Modifier and Type | Method and Description |
---|---|
void |
flushContents()
Empties the contents of this stream monitor's underlying buffer.
|
boolean |
isBuffered()
Returns whether the contents of this monitor's underlying stream is
buffered.
|
void |
setBuffered(boolean buffer)
Sets whether the contents of this monitor's underlying stream should be
buffered.
|
addListener, getContents, removeListener
void flushContents()
void setBuffered(boolean buffer)
false
, contents appended to this stream monitor
are not stored in a buffer, and are thus not available from
getContents()
. Registered listeners are notified of appended
text, and must buffer the contents if desired.buffer
- whether the contents of this monitor's underlying stream
should be bufferedboolean isBuffered()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.