Uses of Class
com.google.common.io.CharSink
Packages that use 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
Subclasses of CharSink in com.google.common.ioModifier and TypeClassDescriptionprivate final class
A char sink that encodes written characters with a charset and writes resulting bytes to this byte sink.Methods in com.google.common.io that return CharSinkModifier 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) Methods in com.google.common.io with parameters of type CharSinkModifier and TypeMethodDescriptionlong
Copies the contents of this source to the given sink.long
final ByteSink
BaseEncoding.encodingSink
(CharSink encodedSink) Returns aByteSink
that writes base-encoded bytes to the specifiedCharSink
.