@ParametersAreNonnullByDefault
See: Description
| Interface | Description | 
|---|---|
| ByteArrayDataInput | An extension of  DataInputfor reading from in-memory byte arrays; its
 methods offer identical functionality but do not throwIOException. | 
| ByteArrayDataOutput | An extension of  DataOutputfor writing to in-memory byte arrays; its
 methods offer identical functionality but do not throwIOException. | 
| ByteProcessor<T> | A callback interface to process bytes from a stream. | 
| InputSupplier<T> | Deprecated For  InputSupplier<? extends InputStream>, useByteSourceinstead. | 
| LineProcessor<T> | A callback to be used with the streaming  readLinesmethods. | 
| OutputSupplier<T> | Deprecated For  OutputSupplier<? extends OutputStream>, useByteSinkinstead. | 
| Class | Description | 
|---|---|
| BaseEncoding | A binary encoding scheme for reversibly translating between byte sequences and printable ASCII
 strings. | 
| ByteSink | A destination to which bytes can be written, such as a file. | 
| ByteSource | A readable source of bytes, such as a file. | 
| ByteStreams | Provides utility methods for working with byte arrays and I/O streams. | 
| CharSink | A destination to which characters can be written, such as a text file. | 
| CharSource | A readable source of characters, such as a text file. | 
| CharStreams | Provides utility methods for working with character streams. | 
| Closeables | Utility methods for working with  Closeableobjects. | 
| Closer | |
| CountingInputStream | An  InputStreamthat counts the number of bytes read. | 
| CountingOutputStream | An OutputStream that counts the number of bytes written. | 
| FileBackedOutputStream | An  OutputStreamthat 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  Flushableobjects. | 
| LineReader | A class for reading lines of text. | 
| LittleEndianDataInputStream | An implementation of  DataInputthat uses little-endian byte ordering
 for readingshort,int,float,double, andlongvalues. | 
| LittleEndianDataOutputStream | An implementation of  DataOutputthat uses little-endian byte ordering
 for writingchar,short,int,float,double, andlongvalues. | 
| PatternFilenameFilter | File name filter that only accepts files matching a regular expression. | 
| Resources | Provides utility methods for working with resources in the classpath. | 
| Enum | Description | 
|---|---|
| FileWriteMode | Modes for opening a file for writing. | 
| Exception | Description | 
|---|---|
| BaseEncoding.DecodingException | Exception indicating invalid base-encoded input encountered while decoding. | 
Many of the methods are based on the
 InputSupplier and
 OutputSupplier interfaces. They are used as
 factories for I/O objects that might throw IOException when
 being created. The advantage of using a factory is that the helper methods in
 this package can take care of closing the resource properly, even if an
 exception is thrown. The ByteStreams,
 CharStreams, and
 Files classes all have static helper methods to
 create new factories and to work with them.
 
This package is a part of the open-source Guava libraries.
Copyright © 2010-2014. All Rights Reserved.