org.eclipse.cdt.internal.core
Class ConsoleOutputSniffer
java.lang.Object
org.eclipse.cdt.internal.core.ConsoleOutputSniffer
public class ConsoleOutputSniffer
- extends java.lang.Object
Intercepts an output to console and forwards it to console parsers for processing
- Author:
- vhirsl
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleOutputSniffer
public ConsoleOutputSniffer(IConsoleParser[] parsers)
ConsoleOutputSniffer
public ConsoleOutputSniffer(java.io.OutputStream outputStream,
java.io.OutputStream errorStream,
IConsoleParser[] parsers)
getOutputStream
public java.io.OutputStream getOutputStream()
- Returns an output stream that will be sniffed.
This stream should be hooked up so the command
output stream goes into here.
- Returns:
getErrorStream
public java.io.OutputStream getErrorStream()
- Returns an error stream that will be sniffed.
This stream should be hooked up so the command
error stream goes into here.
- Returns:
closeConsoleOutputStream
public void closeConsoleOutputStream()
throws java.io.IOException
- Throws:
java.io.IOException