A representation of a file stored in an arbitrary location.
A InputStream that wraps another InputStream, retrying failed reads.
A InputStream that wraps another InputStream, retrying failed reads. This is useful for input streams that can have transient failures (eg HTTP input streams).
Provides the same functionality as java.io.SequenceInputStream, i.e.
Provides the same functionality as java.io.SequenceInputStream, i.e. a
SequenceInputStream represents the logical concatenation of other input streams.
Unlike SequenceInputStream, this implementation will open the concatenated input
streams lazily (as needed). At any point while reading from the stream, only one
underlying InputStream should be open.
Utility methods for handling resource files
A FileDescriptor for files served over SFTP.
A FileDescriptor for files served over SFTP. This file descriptor only supports absolute paths.
The SSH connections for a given host are pooled.
The URI for this FileDescriptor should be in the format:
- sftp://<username>@<hostname>:<port>/<absolute-path>
Both the username and port are optional. Additionally, the credentials config expects an object with the following format:
sftp {
default = {
username = <username>
password = <password>
}
}
Or if using public key authentication:
sftp {
default = {
username = <username>
keypair-file = <key filename>
passphrase = <passphrase>
}
}
What is considered as an id for credentials handling is the hostname of the file descriptor,
therefore it is possible to provide credentials for a specific hostname.
A representation of a file stored in an arbitrary location. A descriptor includes logic to copy files to and from a local filesystem, as well as filesystem navigation logic.