Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

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 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. When 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.

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

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire