Uses of Enum
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
Subclasses with type arguments of type FileWriteMode in com.google.common.ioMethods in com.google.common.io that return FileWriteModeModifier and TypeMethodDescriptionstatic FileWriteModeReturns 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.Methods in com.google.common.io with parameters of type FileWriteModeModifier and TypeMethodDescriptionstatic ByteSinkFiles.asByteSink(File file, FileWriteMode... modes) Returns a newByteSinkfor writing bytes to the given file.static CharSinkFiles.asCharSink(File file, Charset charset, FileWriteMode... modes) Returns a newCharSinkfor writing character data to the given file using the given character set.