Uses of Enum Class
com.google.common.io.FileWriteMode
Packages that use FileWriteMode
Package
Description
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 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.modesMethods in com.google.common.io that return FileWriteModeModifier and TypeMethodDescriptionstatic FileWriteModeReturns 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 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.Constructors in com.google.common.io with parameters of type FileWriteMode