|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.enterprisedt.net.ftp.FTPClientFactory
public class FTPClientFactory
Factory class that permits creating a variety of different FTP clients based on the file transfer protocol required. Plain FTP and various secure FTP protocols are supported.
| Constructor Summary | |
|---|---|
FTPClientFactory()
|
|
| Method Summary | |
|---|---|
static ProFTPClientInterface |
createClient(Protocol protocol)
Create an FTP client that supports the supplied protocol. |
static ProFTPClientInterface |
createClient(Protocol protocol,
boolean serverValidation)
Create an FTP client that supports the supplied protocol. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FTPClientFactory()
| Method Detail |
|---|
public static ProFTPClientInterface createClient(Protocol protocol)
throws FTPException
protocol - file transfer protocol required
FTPException
public static ProFTPClientInterface createClient(Protocol protocol,
boolean serverValidation)
throws FTPException
protocol - file transfer protocol requiredserverValidation - true if server validation required (recommended)
FTPException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||