Uses of Interface
com.github.robtimus.filesystems.ftp.FileSystemExceptionFactory
-
-
Uses of FileSystemExceptionFactory in com.github.robtimus.filesystems.ftp
Classes in com.github.robtimus.filesystems.ftp that implement FileSystemExceptionFactory Modifier and Type Class Description class
DefaultFileSystemExceptionFactory
A defaultFileSystemExceptionFactory
that always returns anFTPFileSystemException
unless specified otherwise.Methods in com.github.robtimus.filesystems.ftp with parameters of type FileSystemExceptionFactory Modifier and Type Method 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 aFileSystemException
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)
-