Package org.eclipse.cdt.core
Class ConsoleOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.eclipse.cdt.core.ConsoleOutputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
public class ConsoleOutputStream extends java.io.OutputStreamOutput 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 java.lang.StringBufferfBuffer
-
Constructor Summary
Constructors Constructor Description ConsoleOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringreadBuffer()voidwrite(byte[] b, int off, int len)voidwrite(int c)voidwrite(java.lang.String msg)
-
-
-
Method Detail
-
readBuffer
public java.lang.String readBuffer()
-
write
public void write(int c) throws java.io.IOException- Specified by:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
write
public void write(byte[] b, int off, int len) throws java.io.IOException- Overrides:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
write
public void write(java.lang.String msg) throws java.io.IOException- Throws:
java.io.IOException- Since:
- 6.0
-
-