Package | Description |
---|---|
nl.esciencecenter.octopus.engine.files | |
nl.esciencecenter.octopus.files |
This package contains classes and interfaces which are used to provide advanced input
and output.
|
Modifier and Type | Method and Description |
---|---|
void |
FilesEngine.delete(Path path,
DeleteOption... options) |
void |
FilesAdaptor.delete(Path path,
DeleteOption... options)
Deletes a file.
|
boolean |
FilesEngine.deleteIfExists(Path path,
DeleteOption... options) |
boolean |
FilesAdaptor.deleteIfExists(Path path,
DeleteOption... options)
Deletes a file if it exists.
|
Modifier and Type | Method and Description |
---|---|
static DeleteOption |
DeleteOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeleteOption[] |
DeleteOption.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 |
DeleteOption.contains(DeleteOption[] options,
DeleteOption option) |
static boolean |
DeleteOption.contains(DeleteOption[] options,
DeleteOption option) |
void |
Files.delete(Path path,
DeleteOption... options)
Deletes a file.
|
boolean |
Files.deleteIfExists(Path path,
DeleteOption... options)
Deletes a file if it exists.
|