Package org.eclipse.debug.core.model
Interface IFlushableStreamMonitor
-
- All Superinterfaces:
IStreamMonitor
- All Known Subinterfaces:
IBinaryStreamMonitor
public interface IFlushableStreamMonitor extends IStreamMonitor
A stream monitor who's contents can be flushed. As well, a client may turn buffering on/off in a flushable stream monitor.Clients may implement this interface.
- Since:
- 2.1
- See Also:
IStreamMonitor
,IBinaryStreamMonitor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface org.eclipse.debug.core.model.IStreamMonitor
addListener, getContents, removeListener
-
-
-
-
Method Detail
-
flushContents
void flushContents()
Empties the contents of this stream monitor's underlying buffer.
-
setBuffered
void setBuffered(boolean buffer)
Sets whether the contents of this monitor's underlying stream should be buffered. Whenfalse
, contents appended to this stream monitor are not stored in a buffer, and are thus not available fromgetContents()
. Registered listeners are notified of appended text, and must buffer the contents if desired.- Parameters:
buffer
- whether the contents of this monitor's underlying stream should be buffered
-
isBuffered
boolean isBuffered()
Returns whether the contents of this monitor's underlying stream is buffered.- Returns:
- whether the contents of this monitor's underlying stream is buffered
-
-