Package | Description |
---|---|
org.apache.commons.io.input |
Provides implementations of input classes, such as
InputStream and Reader . |
org.apache.commons.io.output |
Provides implementations of output classes, such as
OutputStream and
Writer . |
Class and Description |
---|
QueueOutputStream
Simple alternative to JDK
PipedOutputStream ; queue input stream provides what's written in queue
output stream. |
Class and Description |
---|
AbstractByteArrayOutputStream
This is the base class for implementing an output stream in which the data
is written into a byte array.
|
AbstractByteArrayOutputStream.InputStreamConstructor
Constructor for an InputStream subclass.
|
BrokenOutputStream
Broken output stream.
|
BrokenWriter
Always throws an
IOException from all Writer methods. |
ByteArrayOutputStream
Implements a ThreadSafe version of
AbstractByteArrayOutputStream using instance synchronization. |
ChunkedOutputStream
OutputStream which breaks larger output blocks into chunks.
|
ChunkedOutputStream.Builder
Builds a new
UnsynchronizedByteArrayOutputStream instance. |
ClosedOutputStream
Throws an IOException on all attempts to write to the stream.
|
ClosedWriter
Throws an IOException 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 writer that prevents the underlying writer from being closed.
|
DeferredFileOutputStream
An output stream which will retain data in memory until a specified threshold is reached, and only then commit it to disk.
|
DeferredFileOutputStream.Builder
Builds a new
DeferredFileOutputStream instance. |
FileWriterWithEncoding
Writer of files that allows the encoding to be set.
|
FileWriterWithEncoding.Builder
Builds a new
FileWriterWithEncoding instance. |
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.
|
LockableFileWriter.Builder
Builds a new
LockableFileWriter instance. |
NullAppendable
Appends all data to the famous /dev/null.
|
NullOutputStream
Never writes data.
|
NullPrintStream
Never prints data.
|
NullWriter
Never writes data.
|
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.
|
ThresholdingOutputStream
An output stream which triggers an event when a specified number of bytes of data have been written to it.
|
UncheckedAppendable
An
Appendable that throws UncheckedIOException instead of IOException . |
UncheckedFilterOutputStream
A
FilterOutputStream that throws UncheckedIOException instead of UncheckedIOException . |
UncheckedFilterOutputStream.Builder
Builds a new
UncheckedFilterOutputStream instance. |
UncheckedFilterWriter
A
FilterWriter that throws UncheckedIOException instead of IOException . |
UncheckedFilterWriter.Builder
Builds a new
UncheckedFilterWriter instance. |
UnsynchronizedByteArrayOutputStream
Implements a version of
AbstractByteArrayOutputStream without any concurrent thread safety. |
UnsynchronizedByteArrayOutputStream.Builder
Builds a new
UnsynchronizedByteArrayOutputStream instance. |
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 . |
WriterOutputStream.Builder
Builds a new
WriterOutputStream instance. |
XmlStreamWriter
Character stream that handles all the necessary work to figure out the charset encoding of the XML document written to the stream.
|
XmlStreamWriter.Builder
Builds a new
XmlStreamWriter instance. |