| Package | Description |
|---|---|
| tech.mlsql.common.utils.io |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ByteSource.read(ByteProcessor<T> processor)
Reads the contents of this byte source using the given
processor to 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.
|
static <T> T |
ByteStreams.readBytes(InputSupplier<? extends InputStream> supplier,
ByteProcessor<T> processor)
Deprecated.
Use
ByteSource.read(ByteProcessor) instead. This
method is scheduled for removal in Guava 18.0. |
Copyright © 2020. All rights reserved.