public class FtpClientFactory extends Object
Constructor and Description |
---|
FtpClientFactory(FtpConfig config) |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.net.ftp.FTPClient |
createClient()
创建一个连接
|
IFtpInstance |
createInstance()
创建一个实例
|
FtpConfig |
getConfig()
获取配置项
|
public FtpClientFactory(FtpConfig config)
public org.apache.commons.net.ftp.FTPClient createClient()
public IFtpInstance createInstance()
public FtpConfig getConfig()
Copyright © 2024. All rights reserved.