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.
|
nl.esciencecenter.octopus.util |
Modifier and Type | Method and Description |
---|---|
Path |
FilesEngine.copy(Path source,
Path target,
CopyOption... options) |
Path |
FilesAdaptor.copy(Path source,
Path target,
CopyOption... options)
Copy a file to a target file.
|
Path |
FilesEngine.move(Path source,
Path target,
CopyOption... options) |
Path |
FilesAdaptor.move(Path source,
Path target,
CopyOption... options)
Move or rename a file to a target file.
|
Modifier and Type | Method and Description |
---|---|
static CopyOption |
CopyOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CopyOption[] |
CopyOption.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 |
CopyOption.contains(CopyOption[] options,
CopyOption option) |
static boolean |
CopyOption.contains(CopyOption[] options,
CopyOption option) |
Path |
Files.copy(Path source,
Path target,
CopyOption... options)
Copy a file to a target file.
|
Path |
Files.move(Path source,
Path target,
CopyOption... options)
Move or rename a file to a target file.
|
Modifier and Type | Method and Description |
---|---|
static long |
FileUtils.copy(Octopus octopus,
InputStream in,
Path target,
CopyOption... options)
Copies all bytes from an input stream to a file.
|