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 StringBuffer
fBuffer
-
Constructor Summary
Constructors Constructor Description ConsoleOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
readBuffer()
void
write(byte[] b, int off, int len)
void
write(int c)
void
write(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:
write
in classOutputStream
- Throws:
IOException
-
write
public void write(byte[] b, int off, int len) throws IOException
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
public void write(String msg) throws IOException
- Throws:
IOException
- Since:
- 6.0
-
-