Utility classes for IO (streams).
Class Summary Class Description AutoCRLFInputStreamAn InputStream that expands LF to CRLF. AutoCRLFOutputStreamAn OutputStream that expands LF to CRLF. AutoLFInputStreamAn InputStream that normalizes CRLF to LF. AutoLFOutputStreamAn OutputStream that reduces CRLF to LF. BinaryDeltaInputStreamAn
InputStreamthat applies a binary delta to a base on the fly.
BinaryHunkInputStreamA stream that decodes git binary patch data on the fly. BinaryHunkOutputStreamAn
OutputStreamthat encodes data for a git binary patch.
CountingOutputStreamCounts the number of bytes written. DisabledOutputStreamAn OutputStream which always throws IllegalStateExeption during write. EolStreamTypeUtilUtility used to create input and output stream wrappers for
InterruptTimerTriggers an interrupt on the calling thread if it doesn't complete a block. IsolatedOutputStreamOutputStream isolated from interrupts. LimitedInputStreamWraps a
InputStream, limiting the number of bytes which can be read.
MessageWriterCombines messages from an OutputStream (hopefully in UTF-8) and a Writer. NullOutputStreamAn OutputStream which ignores everything written to it. SilentFileInputStreamAn implementation of FileInputStream that ignores any exceptions on close(). StreamCopyThreadThread to copy from an input stream to an output stream. TeeInputStreamInput stream that copies data read to another output stream. TeeOutputStreamAn output stream that writes all data to two streams. ThrowingPrintWriterAn alternative PrintWriter that doesn't catch exceptions. TimeoutInputStreamInputStream with a configurable timeout. TimeoutOutputStreamOutputStream with a configurable timeout. UnionInputStreamAn InputStream which reads from one or more InputStreams.
Enum Summary Enum Description AutoLFInputStream.StreamFlagFlags for controlling auto-detection of binary vs.
Exception Summary Exception Description AutoLFInputStream.IsBinaryExceptionA special exception thrown when
AutoLFInputStreamis told to throw an exception when attempting to read a binary file.