Uses of Class
com.google.common.io.CharSink
-
Packages that use CharSink 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. -
-
Uses of CharSink in com.google.common.io
Methods in com.google.common.io that return CharSink Modifier and Type Method Description CharSink
ByteSink. asCharSink(java.nio.charset.Charset charset)
Returns aCharSink
view of thisByteSink
that writes characters to this sink as bytes encoded with the givencharset
.static CharSink
Files. asCharSink(java.io.File file, java.nio.charset.Charset charset, FileWriteMode... modes)
Returns a newCharSink
for writing character data to the given file using the given character set.Methods in com.google.common.io with parameters of type CharSink Modifier and Type Method Description long
CharSource. copyTo(CharSink sink)
Copies the contents of this source to the given sink.ByteSink
BaseEncoding. encodingSink(CharSink encodedSink)
Returns aByteSink
that writes base-encoded bytes to the specifiedCharSink
.
-