|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.vfs2.provider.ftp.FtpClientFactory
public final class FtpClientFactory
Create a FtpClient instance.
Method Summary | |
---|---|
static FTPClient |
createConnection(java.lang.String hostname,
int port,
char[] username,
char[] password,
java.lang.String workingDirectory,
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 FTPClient createConnection(java.lang.String hostname, int port, char[] username, char[] password, java.lang.String workingDirectory, FileSystemOptions fileSystemOptions) throws FileSystemException
hostname
- The host name of the server.port
- The port to connect to.username
- The name of the user for authentication.password
- The user's password.workingDirectory
- The base directory.fileSystemOptions
- The FileSystemOptions.
FileSystemException
- if an error occurs while connecting.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |