public class SftpClientFactory
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static com.jcraft.jsch.Session |
createConnection(java.lang.String hostname,
int port,
char[] username,
char[] password,
FileSystemOptions fileSystemOptions) |
Creates a new connection to the server.
|
public static com.jcraft.jsch.Session createConnection(java.lang.String hostname, int port, char[] username, char[] password, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemException