Eclipse Platform
2.1

org.eclipse.debug.core.model
Interface IFlushableStreamMonitor

All Superinterfaces:
IStreamMonitor

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

Method Summary
 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 is buffered.
 
Methods inherited from interface org.eclipse.debug.core.model.IStreamMonitor
addListener, getContents, removeListener
 

Method Detail

flushContents

public void flushContents()
Empties the contents of this stream monitor's underlying buffer.


setBuffered

public void setBuffered(boolean buffer)
Sets whether the contents of this monitor's underlying stream is buffered.

Parameters:
buffer -

isBuffered

public 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

Eclipse Platform
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.