OutputStream
and Writer
.See: Description
Interface | Description |
---|---|
AbstractByteArrayOutputStream.InputStreamConstructor<T extends InputStream> |
Constructor for an InputStream subclass.
|
Class | Description |
---|---|
AbstractByteArrayOutputStream |
This is the base class for implementing an output stream in which the data
is written into a byte array.
|
AppendableOutputStream<T extends Appendable> |
OutputStream implementation that writes the data to an
Appendable
Object. |
AppendableWriter<T extends Appendable> |
Writer implementation that writes the data to an
Appendable
Object. |
BrokenOutputStream |
Broken output stream.
|
BrokenWriter |
Broken writer.
|
ByteArrayOutputStream |
Implements a ThreadSafe version of
AbstractByteArrayOutputStream using instance synchronization. |
ChunkedOutputStream |
OutputStream which breaks larger output blocks into chunks.
|
ChunkedWriter |
Writer which breaks larger output blocks into chunks.
|
ClosedOutputStream |
Throws an exception on all attempts to write to the stream.
|
ClosedWriter |
Throws an exception on all attempts to write with
ClosedWriter.close() implemented as a noop. |
CloseShieldOutputStream |
Proxy stream that prevents the underlying output stream from being closed.
|
CloseShieldWriter |
Proxy stream that prevents the underlying writer from being closed.
|
CountingOutputStream |
A decorating output stream that counts the number of bytes that have passed
through the stream so far.
|
DeferredFileOutputStream |
An output stream which will retain data in memory until a specified
threshold is reached, and only then commit it to disk.
|
DemuxOutputStream |
Forwards data to a stream that has been associated with this thread.
|
FileWriterWithEncoding |
Writer of files that allows the encoding to be set.
|
FilterCollectionWriter |
Abstract class for writing filtered character streams to a
Collection of writers. |
LockableFileWriter |
FileWriter that will create and honor lock files to allow simple
cross thread file lock handling.
|
NullOutputStream |
This OutputStream writes all data to the famous /dev/null.
|
NullPrintStream |
This PrintStream writes all data to the famous /dev/null.
|
NullWriter |
This
Writer writes all data to the famous /dev/null. |
ProxyCollectionWriter |
A Proxy stream collection which acts as expected, that is it passes the method calls on to the proxied streams and
doesn't change which methods are being called.
|
ProxyOutputStream |
A Proxy stream which acts as expected, that is it passes the method
calls on to the proxied stream and doesn't change which methods are
being called.
|
ProxyWriter |
A Proxy stream which acts as expected, that is it passes the method calls on to the proxied stream and doesn't
change which methods are being called.
|
StringBuilderWriter |
Writer implementation that outputs to a StringBuilder . |
TaggedOutputStream |
An output stream decorator that tags potential exceptions so that the
stream that caused the exception can easily be identified.
|
TaggedWriter |
A writer decorator that tags potential exceptions so that the
reader that caused the exception can easily be identified.
|
TeeOutputStream |
Classic splitter of
OutputStream . |
TeeWriter |
Classic splitter of
Writer . |
ThresholdingOutputStream |
An output stream which triggers an event when a specified number of bytes of
data have been written to it.
|
UnsynchronizedByteArrayOutputStream |
Implements a version of
AbstractByteArrayOutputStream without any concurrent thread safety. |
WriterOutputStream |
OutputStream implementation that transforms a byte stream to a
character stream using a specified charset encoding and writes the resulting
stream to a Writer . |
XmlStreamWriter |
Character stream that handles all the necessary Voodoo to figure out the
charset encoding of the XML document written to the stream.
|
This package provides implementations of output classes, such as
OutputStream
and Writer
.
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.