|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FTPConnector
This interface describes a connector. Connectors are used by the client to establish connections with remote servers.
Method Summary | |
---|---|
FTPConnection |
connectForCommunicationChannel(java.lang.String host,
int port)
This methods returns an established connection to a remote host, suitable for a FTP communication channel. |
FTPConnection |
connectForDataTransferChannel(java.lang.String host,
int port)
This methods returns an established connection to a remote host, suitable for a FTP data transfer channel. |
Method Detail |
---|
FTPConnection connectForCommunicationChannel(java.lang.String host, int port) throws java.io.IOException
host
- The remote host name or address.port
- The remote port.
java.io.IOException
- If the connection cannot be established.FTPConnection connectForDataTransferChannel(java.lang.String host, int port) throws java.io.IOException
host
- The remote host name or address.port
- The remote port.
java.io.IOException
- If the connection cannot be established.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |