Modifier and Type | Method and Description |
---|---|
static SFTPEnvironment |
SFTPEnvironment.copy(Map<String,?> env)
Copies a map to create a new
SFTPEnvironment instance. |
SFTPEnvironment |
SFTPEnvironment.withAgentForwarding(boolean agentForwarding)
Stores whether or not agent forwarding should be enabled.
|
SFTPEnvironment |
SFTPEnvironment.withAppendedConfig(String key,
String value)
Stores a configuration option to use.
|
SFTPEnvironment |
SFTPEnvironment.withAppendedConfig(String key,
String value,
BinaryOperator<String> appender)
Stores a configuration option to use.
|
SFTPEnvironment |
SFTPEnvironment.withClientVersion(String version)
Stores the client version to use.
|
SFTPEnvironment |
SFTPEnvironment.withConfig(Properties config)
Stores configuration options to use.
|
SFTPEnvironment |
SFTPEnvironment.withConfig(String key,
String value)
Stores a configuration option to use.
|
SFTPEnvironment |
SFTPEnvironment.withConfigRepository(ConfigRepository repository)
Stores the config repository to use.
|
SFTPEnvironment |
SFTPEnvironment.withConnectTimeout(int timeout)
Stores the connection timeout to use.
|
SFTPEnvironment |
SFTPEnvironment.withDefaultDirectory(String pathname)
Stores the default directory to use.
|
SFTPEnvironment |
SFTPEnvironment.withFilenameEncoding(Charset encoding)
Stores the filename encoding to use.
|
SFTPEnvironment |
SFTPEnvironment.withFileSystemExceptionFactory(FileSystemExceptionFactory factory)
Stores the file system exception factory to use.
|
SFTPEnvironment |
SFTPEnvironment.withHostKeyAlias(String alias)
Stores the host key alias to use.
|
SFTPEnvironment |
SFTPEnvironment.withHostKeyRepository(HostKeyRepository repository)
Stores the host key repository to use.
|
SFTPEnvironment |
SFTPEnvironment.withIdentities(Collection<Identity> identities)
Stores several identity to use.
|
SFTPEnvironment |
SFTPEnvironment.withIdentities(Identity... identities)
Stores several identity to use.
|
SFTPEnvironment |
SFTPEnvironment.withIdentity(Identity identity)
Stores an identity to use.
|
SFTPEnvironment |
SFTPEnvironment.withIdentityRepository(IdentityRepository repository)
Stores the identity repository to use.
|
SFTPEnvironment |
SFTPEnvironment.withKnownHosts(File knownHosts)
Stores the known hosts file to use.
|
SFTPEnvironment |
SFTPEnvironment.withPassword(char[] password)
Stores the password to use.
|
SFTPEnvironment |
SFTPEnvironment.withPoolConfig(SFTPPoolConfig poolConfig)
Stores the pool config to use.
|
SFTPEnvironment |
SFTPEnvironment.withProxy(Proxy proxy)
Stores the proxy to use.
|
SFTPEnvironment |
SFTPEnvironment.withServerAliveCountMax(int count)
Stores the maximum number of server alive messages that can be sent without any reply before disconnecting.
|
SFTPEnvironment |
SFTPEnvironment.withServerAliveInterval(int interval)
Stores the server alive interval to use.
|
SFTPEnvironment |
SFTPEnvironment.withSocketFactory(SocketFactory factory)
Stores the socket factory to use.
|
SFTPEnvironment |
SFTPEnvironment.withTimeout(int timeout)
Stores the timeout.
|
SFTPEnvironment |
SFTPEnvironment.withUserInfo(UserInfo userInfo)
Stores the user info to use.
|
SFTPEnvironment |
SFTPEnvironment.withUsername(String username)
Stores the username to use.
|
Modifier and Type | Method and Description |
---|---|
static void |
SFTPEnvironment.setDefault(SFTPEnvironment defaultEnvironment)
Sets the default SFTP environment.
|
Copyright © 2016–2023. All rights reserved.