Top Fields Constructors Methods
ch.qos.logback.core.testUtil

public Class XTeeOutputStream

extends TeeOutputStream
Class Inheritance
Imports
java.io.IOException, .PrintStream, ch.qos.logback.core.testUtil.TeeOutputStream

Field Summary

Modifier and TypeField and Description
pack-priv boolean
Inherited from ch.qos.logback.core.testUtil.TeeOutputStream:
baostargetPS

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
close()

Overrides java.io.OutputStream.close.

Implements java.io.Closeable.close.

Closes this output stream and releases any system resources associated with this stream.
public boolean
Inherited from ch.qos.logback.core.testUtil.TeeOutputStream:
toByteArraytoStringwrite

Field Detail

closedback to summary
pack-priv boolean closed

Constructor Detail

XTeeOutputStreamback to summary
public XTeeOutputStream(PrintStream targetPS)

Method Detail

closeback to summary
public void close() throws IOException

Overrides java.io.OutputStream.close.

Implements java.io.Closeable.close.

Doc from java.io.OutputStream.close.

Closes this output stream and releases any system resources associated with this stream. The general contract of close is that it closes the output stream. A closed stream cannot perform output operations and cannot be reopened.

Annotations
@Override
Exceptions
IOException:
if an I/O error occurs.
isClosedback to summary
public boolean isClosed()