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 charset)
|
static CharSink |
Files.asCharSink(File file,
Charset charset,
FileWriteMode... modes)
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 sink)
Copies the contents of this source to the given sink.
|
ByteSink |
BaseEncoding.encodingSink(CharSink encodedSink)
Returns a
ByteSink that writes base-encoded bytes to the specified CharSink . |
Copyright © 2010–2017. All rights reserved.