|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FTPPool
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(String name)
removes a FTPConnection from pool andreturn it (disconnected) |
Method Detail |
---|
org.apache.commons.net.ftp.FTPClient get(FTPConnection conn) throws IOException, PageException
conn
-
IOException
PageException
org.apache.commons.net.ftp.FTPClient remove(FTPConnection conn)
conn
-
org.apache.commons.net.ftp.FTPClient remove(String name)
name
- Name of the connection to remove
void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |