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 ByteSink |
Files.asByteSink(File file,
FileWriteMode... modes)
Returns a new
ByteSink for writing bytes to the given file. |
ByteSink |
BaseEncoding.encodingSink(CharSink encodedSink)
Returns a
ByteSink that writes base-encoded bytes to the specified CharSink . |
Modifier and Type | Method and Description |
---|---|
long |
ByteSource.copyTo(ByteSink sink)
Copies the contents of this byte source to the given
ByteSink . |
Copyright © 2010-2016. All Rights Reserved.