- java.lang.Object
-
- java.io.OutputStream
-
- ch.qos.logback.core.testUtil.TeeOutputStream
-
- ch.qos.logback.core.testUtil.XTeeOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class XTeeOutputStream extends TeeOutputStream
-
-
Field Summary
-
Fields inherited from class ch.qos.logback.core.testUtil.TeeOutputStream
baos
-
-
Constructor Summary
Constructors Constructor Description XTeeOutputStream(PrintStream targetPS)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanisClosed()-
Methods inherited from class ch.qos.logback.core.testUtil.TeeOutputStream
toByteArray, toString, write
-
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write, write
-
-
-
-
Constructor Detail
-
XTeeOutputStream
public XTeeOutputStream(PrintStream targetPS)
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
isClosed
public boolean isClosed()
-
-