Package org.eclipse.cdt.core
Class ConsoleOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.eclipse.cdt.core.ConsoleOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class ConsoleOutputStream extends OutputStream
Output stream which storing the console output- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringBufferfBuffer
-
Constructor Summary
Constructors Constructor Description ConsoleOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringreadBuffer()voidwrite(byte[] b, int off, int len)voidwrite(int c)voidwrite(String msg)-
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write
-
-
-
-
Field Detail
-
fBuffer
protected StringBuffer fBuffer
-
-
Method Detail
-
readBuffer
public String readBuffer()
-
write
public void write(int c) throws IOException- Specified by:
writein classOutputStream- Throws:
IOException
-
write
public void write(byte[] b, int off, int len) throws IOException- Overrides:
writein classOutputStream- Throws:
IOException
-
write
public void write(String msg) throws IOException
- Throws:
IOException- Since:
- 6.0
-
-