Modifier and Type | Class and Description |
---|---|
class |
DefaultFileSystemExceptionFactory
A default
FileSystemExceptionFactory that always returns an FTPFileSystemException unless specified otherwise. |
Modifier and Type | Method and Description |
---|---|
protected abstract List<FTPFile> |
FTPFileStrategy.getChildren(FTPClient client,
Path path,
FileSystemExceptionFactory exceptionFactory)
Returns the direct children for a path.
|
protected abstract FTPFile |
FTPFileStrategy.getFTPFile(FTPClient client,
Path path,
FileSystemExceptionFactory exceptionFactory)
Returns a single FTP file.
|
protected abstract FTPFile |
FTPFileStrategy.getLink(FTPClient client,
FTPFile ftpFile,
Path path,
FileSystemExceptionFactory exceptionFactory)
Returns an FTP file representing a link.
|
protected void |
FTPFileStrategy.throwIfEmpty(FTPFile[] ftpFiles,
Path path,
FTPClient client,
FileSystemExceptionFactory exceptionFactory)
Throws a
FileSystemException if the given array of FTP files is empty. |
FTPEnvironment |
FTPEnvironment.withFileSystemExceptionFactory(FileSystemExceptionFactory factory)
Stores the file system exception factory to use.
|
FTPSEnvironment |
FTPSEnvironment.withFileSystemExceptionFactory(FileSystemExceptionFactory factory) |
Copyright © 2016–2024. All rights reserved.