Package org.dellroad.stuff.io
package org.dellroad.stuff.io
I/O-related classes.
-
ClassDescriptionPerforms asynchonous reads on an
InputStreamand notifies of input events.Callback interface required byAsyncInputStream.AnOutputStreamthat performs writes using a background thread, so that write, flush, and close operations never block.AFileOutputStreamthat atomically updates the target file.A bit-orientedInputStream.A bit-orientedOutputStream.Catalog of common byte order marks.AReaderthat wraps anInputStream, detects and strips the byte order mark, and then converts bytes into characters accordingly.Thrown byAsyncOutputStreamwhen its buffer overflows.Provides anInputStreamview of aByteBuffer.Provides anOutputStreamview of aByteBuffer.Provides a file-based implementation of theStreamRepositoryinterface with the added feature of automated backups.Exception thrown by anIdleTimeoutInputStreamwhen a read operation takes too long.Wraps anInputStreamand enforces a maximum time limit on how long anyread()operation may block.Reads zero or moreInputStreams serialized inside an underlyingInputStreamby anOutputStreamWriter.Serializes zero or moreOutputStreams 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 theInputStreamandOutputStreaminterfaces.Callback interface used to write output to anOutputStream.