| 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 |
|---|---|
CharSink |
ByteSink.asCharSink(Charset
|
static CharSink |
Files.asCharSink(File
Returns a new
CharSink for writing character data to the given file using the given character set.
|
| Modifier and Type | Method and Description |
|---|---|
long |
CharSource.copyTo(CharSink
Copies the contents of this source to the given sink.
|
ByteSink |
BaseEncoding.encodingSink(CharSink
Returns a
ByteSink that writes base-encoded bytes to the specified
CharSink.
|