Package org.dellroad.stuff.io
package org.dellroad.stuff.io
I/O-related classes.
-
ClassDescriptionPerforms asynchonous reads on an
InputStream
and notifies of input events.Callback interface required byAsyncInputStream
.AnOutputStream
that performs writes using a background thread, so that write, flush, and close operations never block.AFileOutputStream
that atomically updates the target file.A bit-orientedInputStream
.A bit-orientedOutputStream
.Catalog of common byte order marks.AReader
that wraps anInputStream
, detects and strips the byte order mark, and then converts bytes into characters accordingly.Thrown byAsyncOutputStream
when its buffer overflows.Provides anInputStream
view of aByteBuffer
.Provides anOutputStream
view of aByteBuffer
.Provides a file-based implementation of theStreamRepository
interface with the added feature of automated backups.Exception thrown by anIdleTimeoutInputStream
when a read operation takes too long.Wraps anInputStream
and enforces a maximum time limit on how long anyread()
operation may block.Reads zero or moreInputStream
s serialized inside an underlyingInputStream
by anOutputStreamWriter
.Serializes zero or moreOutputStream
s inside a single underlyingOutputStream
.A better piped input/output stream pair.Callback interface used to read input from anInputStream
.Interface for atomic storage and retrieval of an opaque byte array, with access being done via theInputStream
andOutputStream
interfaces.Callback interface used to write output to anOutputStream
.