程序包 | 说明 |
---|---|
com.fr.ftp |
Common socket classes and protocol command utility classes
|
com.fr.ftp.client |
FTP and FTPS support classes
|
com.fr.ftp.pool |
限定符和类型 | 方法和说明 |
---|---|
static void |
FTPUtils.appendWrite(FineFTP ftpClient,
java.lang.String file,
java.io.InputStream data)
追加写入
|
static boolean |
FTPUtils.create(FineFTP ftpClient,
java.lang.String path)
创建文件
|
static boolean |
FTPUtils.createDirectory(FineFTP ftpClient,
java.lang.String dir)
创建文件夹
|
static boolean |
FTPUtils.delete(FineFTP ftpClient,
java.lang.String path)
删除文件或者文件夹
|
static boolean |
FTPUtils.exist(FineFTP ftpClient,
java.lang.String path)
是否存在
|
static FineFileEntry |
FTPUtils.getEntry(FineFTP ftpClient,
java.lang.String path) |
static long |
FTPUtils.getLength(FineFTP ftpClient,
java.lang.String path) |
static long |
FTPUtils.getModificationTime(FineFTP ftpClient,
java.lang.String path) |
static boolean |
FTPUtils.isDirectory(FineFTP ftpClient,
java.lang.String path)
是否是文件夹
|
static java.lang.String[] |
FTPUtils.list(FineFTP ftpClient,
java.lang.String dir,
Filter<java.lang.String> filter)
list
|
static java.lang.String[] |
FTPUtils.list(FineFTP ftpClient,
java.lang.String dir,
Filter<java.lang.String> filter,
boolean fullPath)
list
|
static FineFileEntry[] |
FTPUtils.lsEntries(FineFTP ftp,
java.lang.String dir) |
static java.io.InputStream |
FTPUtils.read(FineFTP ftpClient,
java.lang.String file)
读取
|
static boolean |
FTPUtils.rename(FineFTP ftpClient,
java.lang.String path,
java.lang.String newPath)
重命名
|
static void |
FTPUtils.write(FineFTP ftpClient,
java.lang.String file,
java.io.InputStream data)
写入
|
限定符和类型 | 类和说明 |
---|---|
class |
FineFTPClient
Created by rinoux on 2018/5/2.
|
class |
FineSFTPClient
Created by rinoux on 2018/5/2.
|
限定符和类型 | 方法和说明 |
---|---|
com.fr.third.org.apache.commons.pool2.PooledObject<FineFTP> |
FineFTPClientFactory.makeObject() |
限定符和类型 | 方法和说明 |
---|---|
void |
FineFTPClientFactory.activateObject(com.fr.third.org.apache.commons.pool2.PooledObject<FineFTP> pooledObject) |
void |
FineFTPClientFactory.destroyObject(com.fr.third.org.apache.commons.pool2.PooledObject<FineFTP> pooledObject) |
void |
FineFTPClientFactory.passivateObject(com.fr.third.org.apache.commons.pool2.PooledObject<FineFTP> pooledObject) |
boolean |
FineFTPClientFactory.validateObject(com.fr.third.org.apache.commons.pool2.PooledObject<FineFTP> pooledObject) |
构造器和说明 |
---|
GenericFineFTPPool(com.fr.third.org.apache.commons.pool2.PooledObjectFactory<FineFTP> factory) |
GenericFineFTPPool(com.fr.third.org.apache.commons.pool2.PooledObjectFactory<FineFTP> factory,
com.fr.third.org.apache.commons.pool2.impl.GenericObjectPoolConfig config) |