Package | Description |
---|---|
nl.esciencecenter.octopus |
This package contains classes and interfaces which are used
throughout the Octopus application API.
|
nl.esciencecenter.octopus.engine | |
nl.esciencecenter.octopus.util |
Modifier and Type | Method and Description |
---|---|
static Octopus |
OctopusFactory.newOctopus(Properties properties,
Credentials credentials)
Constructs a Octopus instance.
|
Modifier and Type | Class and Description |
---|---|
class |
OctopusEngine
Implementation of Octopus Interface class.
|
Modifier and Type | Method and Description |
---|---|
static Octopus |
OctopusEngine.newEngine(Properties properties,
Credentials credentials) |
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.
|
static long |
FileUtils.copy(Octopus octopus,
Path source,
OutputStream out)
Copies all bytes from a file to an output stream.
|
static BufferedReader |
FileUtils.newBufferedReader(Octopus octopus,
Path path,
Charset cs)
Opens a file for reading, returning a BufferedReader that may be used to
read text from the file in an efficient manner.
|
static BufferedWriter |
FileUtils.newBufferedWriter(Octopus octopus,
Path path,
Charset cs,
OpenOption... options)
Opens or creates a file for writing, returning a BufferedWriter that may
be used to write text to the file in an efficient manner.
|
FileVisitResult |
FileVisitor.postVisitDirectory(Path dir,
OctopusException exception,
Octopus octopus)
Invoked for a directory after entries in the directory, and all of their
descendants, have been visited.
|
FileVisitResult |
FileVisitor.preVisitDirectory(Path dir,
FileAttributes attributes,
Octopus octopus)
Invoked for a directory before entries in the directory are visited.
|
static byte[] |
FileUtils.readAllBytes(Octopus octopus,
Path path)
Read all the bytes from a file.
|
static List<String> |
FileUtils.readAllLines(Octopus octopus,
Path path,
Charset cs)
Read all lines from a file.
|
FileVisitResult |
FileVisitor.visitFile(Path file,
FileAttributes attributes,
Octopus octopus)
Invoked for a file in a directory.
|
FileVisitResult |
FileVisitor.visitFileFailed(Path file,
OctopusException exception,
Octopus octopus)
Invoked for a file that could not be visited.
|
private static FileVisitResult |
FileUtils.walk(Octopus octopus,
Path path,
FileAttributes attributes,
boolean followLinks,
int maxDepth,
FileVisitor visitor) |
static Path |
FileUtils.walkFileTree(Octopus octopus,
Path start,
boolean followLinks,
int maxDepth,
FileVisitor visitor)
Walks a file tree.
|
static Path |
FileUtils.walkFileTree(Octopus octopus,
Path start,
FileVisitor visitor)
Walks a file tree.
|
static Path |
FileUtils.write(Octopus octopus,
Path path,
byte[] bytes,
OpenOption... options)
Writes bytes to a file.
|
static Path |
FileUtils.write(Octopus octopus,
Path path,
Iterable<? extends CharSequence> lines,
Charset cs,
OpenOption... options)
Write lines of text to a file.
|