|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

public interface FTPManager
Defines an interface for developing a FTP manager.
Implementations of this interface will provide the following services:
| Method Summary | |
|---|---|
void |
destroy()
Destroy this manager. |
FTPGetClient |
getFTPGetClient(java.lang.String name)
Return a reference to a named FTPGetClient |
FTPPutClient |
getFTPPutClient(java.lang.String name)
Return a reference to a named FTPPutClient |
java.lang.String |
getName()
Return the name of this manager. |
void |
init(java.lang.String name,
XMLProperties xmlProps)
Initialise the manager with XML configuration containing the FTP server and client configuration parameters. |
void |
setName(java.lang.String name)
Set the name of this manager. |
| Method Detail |
|---|
void init(java.lang.String name,
XMLProperties xmlProps)
throws FTPException
name - Sting containing the name of this manager.xmlProps - XML configuration.
FTPException - if the manager cannot be initialised.void setName(java.lang.String name)
name - String containing manager name.java.lang.String getName()
FTPGetClient getFTPGetClient(java.lang.String name)
name - String containing the name of the client to return.
FTPPutClient getFTPPutClient(java.lang.String name)
name - String containing the name of the client to return.
void destroy()
throws FTPException
FTPException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||