public class FtpConfig extends Object implements Serializable, IJsonObject
Modifier and Type | Field and Description |
---|---|
int |
buffSize
缓冲区大小
|
Constructor and Description |
---|
FtpConfig(String host) |
FtpConfig(String host,
int port) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
toJsonString
public FtpConfig(String host)
public FtpConfig(String host, int port)
public FtpConfig auth(String username, String password)
username
- 用户名password
- 密码public void setHost(String host)
public void setPort(int port)
public void setRemoteRootDir(String remoteRootDir)
public void setRemoteContentCharset(String remoteContentCharset)
public void setLocalContentCharset(String localContentCharset)
public void setRemoteFileNameCharset(String remoteFileNameCharset)
public void setLocalFileNameCharset(String localFileNameCharset)
public void setRemoteFileNameCharset(Charset remoteFileNameCharset)
public void setLocalFileNameCharset(Charset localFileNameCharset)
public void setShowHidden(boolean showHidden)
public void setBuffSize(int buffSize)
public void setPassiveMode(boolean passiveMode)
public void setDateTimeout(int dateTimeout)
public void setConnTimeout(int connTimeout)
public String getHost()
public int getPort()
public String getUsername()
public String getPassword()
public String getRemoteRootDir()
public String getRemoteContentCharset()
public String getLocalContentCharset()
public Charset getRemoteFileNameCharset()
public Charset getLocalFileNameCharset()
public boolean isShowHidden()
public int getBuffSize()
public boolean isPassiveMode()
public int getDateTimeout()
public int getConnTimeout()
Copyright © 2024. All rights reserved.