KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > core > IStreamListener


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.debug.core;
12
13
14 import org.eclipse.debug.core.model.IStreamMonitor;
15
16 /**
17  * A stream listener is notified of changes
18  * to a stream monitor.
19  * <p>
20  * Clients may implement this interface.
21  * </p>
22  * @see IStreamMonitor
23  */

24 public interface IStreamListener {
25     /**
26      * Notifies this listener that text has been appended to
27      * the given stream monitor.
28      *
29      * @param text the appended text
30      * @param monitor the stream monitor to which text was appended
31      */

32     public void streamAppended(String JavaDoc text, IStreamMonitor monitor);
33 }
34
Popular Tags