|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.vfs2.provider.sftp.SftpClientFactory
public final class SftpClientFactory
Create a JSch Session instance.
Method Summary | |
---|---|
static Session |
createConnection(java.lang.String hostname,
int port,
char[] username,
char[] password,
FileSystemOptions fileSystemOptions)
Creates a new connection to the server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Session createConnection(java.lang.String hostname, int port, char[] username, char[] password, FileSystemOptions fileSystemOptions) throws FileSystemException
hostname
- The name of the host to connect to.port
- The port to use.username
- The user's id.password
- The user's password.fileSystemOptions
- The FileSystem options.
FileSystemException
- if an error occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |