Class ReporterOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- com.github.sbabcoc.logback.testng.ReporterOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class ReporterOutputStream extends OutputStream
-
-
Constructor Summary
Constructors Constructor Description ReporterOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidsetLogToStdOut(boolean logToStdOut)voidwrite(byte[] b, int off, int len)voidwrite(int b)-
Methods inherited from class java.io.OutputStream
write
-
-
-
-
Method Detail
-
setLogToStdOut
public void setLogToStdOut(boolean logToStdOut)
-
write
public void write(int b) 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
-
flush
public void flush()
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream
-
-