Uses of Enum Class
com.google.common.io.FileWriteMode
Packages that use 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
Fields in com.google.common.io with type parameters of type FileWriteModeModifier and TypeFieldDescriptionprivate final ImmutableSet
<FileWriteMode> Files.FileByteSink.modes
Methods in com.google.common.io that return FileWriteModeModifier and TypeMethodDescriptionstatic FileWriteMode
Returns the enum constant of this class with the specified name.static FileWriteMode[]
FileWriteMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.google.common.io with parameters of type FileWriteModeModifier 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.Constructors in com.google.common.io with parameters of type FileWriteMode