Package com.helger.commons.io.stream
package com.helger.commons.io.stream
-
ClassesClassDescriptionThe
BitInputStreamallows reading individual bits from a general Java InputStream.The BitOutputStream allows writing individual bits to a general Java OutputStream.InputStreamwrapped around a singleByteBuffer.Wrapper for anOutputStreamaround aByteBuffer.InputStreamwrapped around one or moreByteBufferobjects.A specialFileInputStreamsub class that keeps track of all read bytes for the statistics handler.A specialFileOutputStreamsub class that keeps track of all written bytes for the statistics handler.A wrapper around anInputStreamthat counts the number of read bytes.A wrapper around anOutputStreamthat counts the number of read bytes.A wrapper around aReaderthat counts the number of read bytes.A wrapper around anWriterthat counts the number of read chars.Special implementation ofIHasInputStreamwith that has an InputStream supplier that can be read more than once!A wrapper around anInputStreamthat logs read and skip actions.A wrapper around anOutputStreamthat logs what he is doing.A wrapper around anReaderthat logs read and skip actions.A wrapper around anWriterthat logs what he is doing.TheNonBlockingBitInputStreamallows reading individual bits from a general Java InputStream.TheNonBlockingBitOutputStreamallows writing individual bits to a general Java OutputStream.Non-synchronized version ofBufferedInputStream.A non-synchronized copy of the classBufferedOutputStream.A non-synchronized copy of the classBufferedReader.This is a non-blocking version ofBufferedWriter.A non-synchronized copy of the classByteArrayInputStream.A non-synchronized copy of the classByteArrayOutputStream.A non-synchronized copy of the classCharArrayWriter.
It does not use the internal lock object.A non-synchronized copy of the classPushbackInputStream.A non-synchronized copy of the classPushbackReader.A non-synchronized copy of the classStringReader.
Note: super classReaderuses the lock object internally only forlong skip(long n)and as this method is overwritten in here, the lock is never used.A non-synchronized copy of the classStringWriter.
It usesStringBuilderinstead ofStringBufferand therefore does not need synchronized access!A specialInputStreamthat does not close the stream.A specialOutputStreamthat does not close the stream.A specialReaderthat does not close the stream.A specialWriterthat does not close the stream.AnOutputStreamthat discards all bytes to be writtenSome very basic IO stream utility stuff.A simple builder to copy an InputStream (StreamHelper.CopyByteStreamBuilder.from(InputStream)) to an OutputStream (StreamHelper.CopyByteStreamBuilder.to(OutputStream)) with certain parameters.A simple builder to copy a Reader (StreamHelper.CopyCharStreamBuilder.from(Reader)) to an Writer (StreamHelper.CopyCharStreamBuilder.to(Writer)) with certain parameters.An input stream based on an input String.A wrapper around anotherFilterInputStreamto make the wrappedInputStreamaccessible.A wrapper around anotherFilterOutputStreamto make the wrappedOutputStreamaccessible.A wrapper around anotherFilterReaderto make the wrappedReaderaccessible.A wrapper around anotherFilterWriterto make the wrappedWriteraccessible.