Uses of Package
org.apache.commons.io.output
Package
Description
Provides implementations of input classes, such as
InputStream
and Reader
.Provides implementations of output classes, such as
OutputStream
and
Writer
.-
ClassDescriptionSimple alternative to JDK
PipedOutputStream
; queue input stream provides what's written in queue output stream. -
ClassDescriptionThis is the base class for implementing an output stream in which the data is written into a byte array.Constructor for an InputStream subclass.Always throws an exception from all
OutputStream
methods whereIOException
is declared.Always throws an exception from allWriter
methods whereIOException
is declared.OutputStream which breaks larger output blocks into chunks.Builds a newUnsynchronizedByteArrayOutputStream
.Throws an IOException on all attempts to write to the stream.Throws an IOException on all attempts to write withClosedWriter.close()
implemented as a noop.Proxy stream that prevents the underlying output stream from being closed.Proxy writer that prevents the underlying writer from being closed.An output stream which will retain data in memory until a specified threshold is reached, and only then commit it to disk.Builds a newDeferredFileOutputStream
.Writer of files that allows the encoding to be set.Builds a newFileWriterWithEncoding
.Abstract class for writing filtered character streams to aCollection
of writers.FileWriter that will create and honor lock files to allow simple cross thread file lock handling.Builds a newLockableFileWriter
.Appends all data to the famous /dev/null.Never writes data.Never prints data.Never writes data.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.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.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.AnOutputStream
that writes to aRandomAccessFile
.Builds a newRandomAccessFileOutputStream
.An output stream which triggers an event on the first write that causes the total number of bytes written to the stream to exceed a configured threshold, and every subsequent write.Builds a newUncheckedFilterOutputStream
.Builds a newUncheckedFilterWriter
.Implements a version ofAbstractByteArrayOutputStream
without any concurrent thread safety.Builds a newUnsynchronizedByteArrayOutputStream
.OutputStream
implementation that transforms a byte stream to a character stream using a specified charset encoding and writes the resulting stream to aWriter
.Builds a newWriterOutputStream
.Character stream that handles all the necessary work to figure out the charset encoding of the XML document written to the stream.Builds a newXmlStreamWriter
.