Uses of Enum
com.google.common.io.FileWriteMode
Package
Description
Utility methods and classes for I/O; for example input streams, output streams, readers, writers,
and files.
-
Uses of FileWriteMode in com.google.common.io
Modifier and TypeMethodDescriptionstatic FileWriteMode
Returns the enum constant of this type with the specified name.static FileWriteMode[]
FileWriteMode.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic ByteSink
Files.asByteSink
(File file, FileWriteMode... modes) Returns a newByteSink
for writing bytes to the given file.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.