| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static FileWriteMode |
FileWriteMode.valueOf(String
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 Type | Method and Description |
|---|---|
static ByteSink |
Files.asByteSink(File
Returns a new
ByteSink for writing bytes to the given file.
|
static CharSink |
Files.asCharSink(File
Returns a new
CharSink for writing character data to the given file using the given character set.
|