public final class FTPConnectionImpl extends Object implements FTPConnectionPro
Constructor and Description |
---|
FTPConnectionImpl(String name,
String server,
String username,
String password,
int port,
int timeout,
short transferMode,
boolean passive,
String proxyserver,
int proxyport,
String proxyuser,
String proxypassword,
String fingerprint,
boolean stopOnError,
boolean secure) |
Modifier and Type | Method and Description |
---|---|
boolean |
equal(Object o) |
String |
getFingerprint() |
String |
getName() |
String |
getPassword() |
int |
getPort() |
String |
getProxyPassword()
return the proxy password
|
int |
getProxyPort() |
String |
getProxyServer() |
String |
getProxyUser()
return the proxy username
|
String |
getServer() |
boolean |
getStopOnError() |
int |
getTimeout() |
short |
getTransferMode() |
String |
getUsername() |
boolean |
hasLoginData() |
boolean |
hasName() |
boolean |
isPassive() |
boolean |
loginEquals(FTPConnection conn) |
boolean |
secure() |
void |
setTransferMode(short transferMode) |
public FTPConnectionImpl(String name, String server, String username, String password, int port, int timeout, short transferMode, boolean passive, String proxyserver, int proxyport, String proxyuser, String proxypassword, String fingerprint, boolean stopOnError, boolean secure)
name
- server
- username
- password
- port
- timeout
- transferMode
- passive
- proxyserver
- public String getName()
getName
in interface FTPConnection
getName
in interface FTPConnectionPro
public String getPassword()
getPassword
in interface FTPConnection
getPassword
in interface FTPConnectionPro
public String getServer()
getServer
in interface FTPConnection
getServer
in interface FTPConnectionPro
public String getUsername()
getUsername
in interface FTPConnection
getUsername
in interface FTPConnectionPro
public boolean hasLoginData()
hasLoginData
in interface FTPConnection
hasLoginData
in interface FTPConnectionPro
public boolean hasName()
hasName
in interface FTPConnection
hasName
in interface FTPConnectionPro
public int getPort()
getPort
in interface FTPConnection
getPort
in interface FTPConnectionPro
public int getTimeout()
getTimeout
in interface FTPConnection
getTimeout
in interface FTPConnectionPro
public short getTransferMode()
getTransferMode
in interface FTPConnection
getTransferMode
in interface FTPConnectionPro
public void setTransferMode(short transferMode)
public boolean isPassive()
isPassive
in interface FTPConnection
isPassive
in interface FTPConnectionPro
public boolean loginEquals(FTPConnection conn)
loginEquals
in interface FTPConnection
loginEquals
in interface FTPConnectionPro
public String getProxyPassword()
FTPConnectionPro
getProxyPassword
in interface FTPConnection
getProxyPassword
in interface FTPConnectionPro
public int getProxyPort()
getProxyPort
in interface FTPConnection
getProxyPort
in interface FTPConnectionPro
public String getProxyServer()
getProxyServer
in interface FTPConnection
getProxyServer
in interface FTPConnectionPro
public String getProxyUser()
FTPConnectionPro
getProxyUser
in interface FTPConnection
getProxyUser
in interface FTPConnectionPro
public boolean secure()
secure
in interface FTPConnectionPro
public boolean getStopOnError()
getStopOnError
in interface FTPConnectionPro
public String getFingerprint()
getFingerprint
in interface FTPConnectionPro
Copyright © 2015 Lucee