public class FtpConfig extends Object implements Serializable
Constructor and Description |
---|
FtpConfig()
构造
|
FtpConfig(String host,
int port,
String user,
String password,
Charset charset)
构造
|
FtpConfig(String host,
int port,
String user,
String password,
Charset charset,
String serverLanguageCode,
String systemKey)
构造
|
Modifier and Type | Method and Description |
---|---|
static FtpConfig |
create() |
Charset |
getCharset() |
long |
getConnectionTimeout() |
String |
getHost() |
String |
getPassword() |
int |
getPort() |
String |
getServerLanguageCode() |
long |
getSoTimeout() |
String |
getSystemKey() |
String |
getUser() |
FtpConfig |
setCharset(Charset charset) |
FtpConfig |
setConnectionTimeout(long connectionTimeout) |
FtpConfig |
setHost(String host) |
FtpConfig |
setPassword(String password) |
FtpConfig |
setPort(int port) |
FtpConfig |
setServerLanguageCode(String serverLanguageCode) |
FtpConfig |
setSoTimeout(long soTimeout) |
FtpConfig |
setSystemKey(String systemKey) |
FtpConfig |
setUser(String user) |
public FtpConfig()
public FtpConfig(String host, int port, String user, String password, Charset charset)
host
- 主机port
- 端口user
- 用户名password
- 密码charset
- 编码public static FtpConfig create()
public String getHost()
public int getPort()
public FtpConfig setPort(int port)
public String getUser()
public String getPassword()
public Charset getCharset()
public long getConnectionTimeout()
public FtpConfig setConnectionTimeout(long connectionTimeout)
public long getSoTimeout()
public FtpConfig setSoTimeout(long soTimeout)
public String getServerLanguageCode()
public String getSystemKey()
Copyright © 2024. All rights reserved.