package io
- Alphabetic
- Public
- All
Type Members
-
trait
FileDescriptor extends AnyRef
A representation of a file stored in an arbitrary location.
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.
-
trait
FileDescriptorCredentials[Conf, CredObj] extends AnyRef
Trait that describes how a
FileDescriptorextracts credentials from a config.Trait that describes how a
FileDescriptorextracts credentials from a config.The config file must follow the following structure:
{ default = <protocolCredentials> ids { id1 = <protocolCredentials> id2 = <protocolCredentials> } }The
defaultis optional and is used as a fallback when the file descriptor id matches none of the credentials ids.- Conf
The type of credential config that is extracted
- CredObj
The type of credential object that is extracted
-
class
InsistentInputStream extends InputStream with Logging
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).
-
class
LazySequenceInputStream extends InputStream
Provides the same functionality as
java.io.SequenceInputStream, i.e.Provides the same functionality as
java.io.SequenceInputStream, i.e. aSequenceInputStreamrepresents the logical concatenation of other input streams. UnlikeSequenceInputStream, this implementation will open the concatenated input streams lazily (as needed). At any point while reading from the stream, only one underlyingInputStreamshould be open. - case class LocalFileDescriptor(initialPath: String) extends FileDescriptor with Logging with Product with Serializable
- trait RemoteFileDescriptor extends AnyRef
-
trait
ResourceUtil extends AnyRef
Utility methods for handling resource files
- case class S3FileDescriptor(bucket: S3Bucket, elements: List[String], summary: Option[S3ObjectSummary] = None) extends FileDescriptor with RemoteFileDescriptor with Logging with Product with Serializable
-
case class
SftpFileDescriptor(host: String, port: Int, username: String, password: Option[String], elements: List[String], identity: Option[Identity], _fileAttributes: Option[FileAttributes] = None) extends FileDescriptor with RemoteFileDescriptor with Logging with Product with Serializable
A
FileDescriptorfor files served over SFTP.A
FileDescriptorfor files served over SFTP. This file descriptor only supports absolute paths. The SSH connections for a given host are pooled.The URI for this
FileDescriptorshould 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
idfor credentials handling is thehostnameof the file descriptor, therefore it is possible to provide credentials for a specifichostname.
Value Members
- object FileDescriptor
- object ResourceUtil extends ResourceUtil
- object S3FileDescriptor extends Serializable
- object SftpFileDescriptor extends Serializable