|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
FTP Pool
| Method Summary | |
void |
clear()
clears all connection from pool |
org.apache.commons.net.ftp.FTPClient |
get(FTPConnection conn)
returns a FTPClient from the pool, if no matching exist, create a new one |
org.apache.commons.net.ftp.FTPClient |
remove(FTPConnection conn)
removes a FTPConnection from pool andreturn it (disconnected) |
org.apache.commons.net.ftp.FTPClient |
remove(java.lang.String name)
removes a FTPConnection from pool andreturn it (disconnected) |
| Method Detail |
public org.apache.commons.net.ftp.FTPClient get(FTPConnection conn)
throws java.io.IOException,
PageException
conn -
java.io.IOException
PageExceptionpublic org.apache.commons.net.ftp.FTPClient remove(FTPConnection conn)
conn -
public org.apache.commons.net.ftp.FTPClient remove(java.lang.String name)
name - Name of the connection to remove
public void clear()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||