| Package | Description | 
|---|---|
| com.google.common.io | This package contains utility methods and classes for working with Java I/O;
 for example input streams, output streams, readers, writers, and files. | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> T | ByteSource. read(ByteProcessor<T> processor)Reads the contents of this byte source using the given  processorto process bytes as
 they are read. | 
| static <T> T | Files. readBytes(File file,
                  ByteProcessor<T> processor)Process the bytes of a file. | 
| static <T> T | ByteStreams. readBytes(InputStream input,
                  ByteProcessor<T> processor)Process the bytes of the given input stream using the given processor. | 
Copyright © 2010-2015. All Rights Reserved.