Package com.google.common.io

Interface Summary
ByteArrayDataInput An extension of DataInput for reading from in-memory byte arrays; its methods offer identical functionality but do not throw IOException.
ByteArrayDataOutput An extension of DataOutput for writing to in-memory byte arrays; its methods offer identical functionality but do not throw IOException.
ByteProcessor<T> A callback interface to process bytes from a stream.
InputSupplier<T> A factory for readable streams of bytes or characters.
LineProcessor<T> A callback to be used with the streaming readLines methods.
OutputSupplier<T> An factory for writable streams of bytes or characters.
 

Class Summary
ByteStreams Provides utility methods for working with byte arrays and I/O streams.
CharStreams Provides utility methods for working with character streams.
Closeables Utility methods for working with Closeable objects.
CountingInputStream An InputStream that counts the number of bytes read.
CountingOutputStream An OutputStream that counts the number of bytes written.
FileBackedOutputStream An OutputStream that starts buffering to a byte array, but switches to file buffering once the data reaches a configurable size.
Files Provides utility methods for working with files.
Flushables Utility methods for working with Flushable objects.
LimitInputStream An InputStream that limits the number of bytes which can be read.
LineReader A class for reading lines of text.
NullOutputStream Implementation of OutputStream that simply discards written bytes.
PatternFilenameFilter File name filter that only accepts files matching a regular expression.
Resources Provides utility methods for working with resources in the classpath.