Uses of Class
com.google.common.io.CharSink
Package
Description
Utility methods and classes for I/O; for example input streams, output streams, readers, writers,
and files.
-
Uses of CharSink in com.google.common.io
Modifier and TypeMethodDescriptionByteSink.asCharSink
(Charset charset) static CharSink
Files.asCharSink
(File file, Charset charset, FileWriteMode... modes) Returns a newCharSink
for writing character data to the given file using the given character set.static CharSink
MoreFiles.asCharSink
(Path path, Charset charset, OpenOption... options) Modifier and TypeMethodDescriptionlong
Copies the contents of this source to the given sink.final ByteSink
BaseEncoding.encodingSink
(CharSink encodedSink) Returns aByteSink
that writes base-encoded bytes to the specifiedCharSink
.