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 |
---|---|
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.
|
static <T> T |
ByteStreams.readBytes(InputSupplier<? extends InputStream> supplier,
ByteProcessor<T> processor)
Process the bytes of a supplied stream
|
Copyright © 2010-2013. All Rights Reserved.