|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjfileupload.transfer.client.ftp.FtpClientFactory
public class FtpClientFactory
This factory manages FTPClient and FTPSClient instances.
Method Summary | |
---|---|
void |
closeSessions()
|
org.apache.commons.net.ftp.FTPClient |
getClient()
Returns FTPClient instance. |
FTPSClient |
getClient(java.lang.String ftpsmode,
java.lang.String ftpsprot)
Returns FTPSClient instance. |
static FtpClientFactory |
getInstance()
|
boolean |
isSessionOpened(org.apache.commons.net.ftp.FTPClient clt)
Return true if FTPClient session if opened. |
void |
reset()
|
void |
setConcurrency(java.lang.String str)
Set concurrency value. |
void |
setSessionOpened(org.apache.commons.net.ftp.FTPClient clt,
boolean opened)
Set session status for a given FTP Client. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FtpClientFactory getInstance()
public org.apache.commons.net.ftp.FTPClient getClient()
public FTPSClient getClient(java.lang.String ftpsmode, java.lang.String ftpsprot)
public boolean isSessionOpened(org.apache.commons.net.ftp.FTPClient clt)
clt
-
public void setSessionOpened(org.apache.commons.net.ftp.FTPClient clt, boolean opened)
clt
- opened
- public void closeSessions()
public void reset()
public void setConcurrency(java.lang.String str)
str
- -1 means unlimited HTTP connections.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |