Package | Description |
---|---|
nl.esciencecenter.xenon.files |
This package contains classes and interfaces for manipulating files.
|
nl.esciencecenter.xenon.util |
This package is contains several utility classes.
|
Modifier and Type | Method and Description |
---|---|
static OpenOption |
OpenOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenOption[] |
OpenOption.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
OpenOption.contains(OpenOption toFind,
OpenOption... options)
Check if a sequence of
OpenOption s contains a specific option. |
static boolean |
OpenOption.contains(OpenOption toFind,
OpenOption... options)
Check if a sequence of
OpenOption s contains a specific option. |
OutputStream |
Files.newOutputStream(Path path,
OpenOption... options)
Open an file and return an
OutputStream to write to this file. |
Modifier and Type | Method and Description |
---|---|
static OpenOption[] |
Utils.openOptionsForWrite(boolean truncate)
Return an
OpenOption array containing all options needed to open a file for writing. |