Class FtpsFileSystem
java.lang.Object
org.apache.commons.vfs2.provider.AbstractVfsComponent
org.apache.commons.vfs2.provider.AbstractFileSystem
org.apache.commons.vfs2.provider.ftp.FtpFileSystem
org.apache.commons.vfs2.provider.ftps.FtpsFileSystem
- All Implemented Interfaces:
Closeable,AutoCloseable,FileSystem,VfsComponent
A FTPS file system.
- Since:
- 2.1
-
Constructor Summary
ConstructorsConstructorDescriptionFtpsFileSystem(GenericFileName rootName, FtpClient ftpClient, FileSystemOptions fileSystemOptions) Creates a new FtpsFileSystem. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.commons.vfs2.provider.ftps.FtpsClientWrapperGets the wrapper to access this file system.Methods inherited from class org.apache.commons.vfs2.provider.ftp.FtpFileSystem
addCapabilities, createFile, doCloseCommunicationLink, getClient, putClientMethods inherited from class org.apache.commons.vfs2.provider.AbstractFileSystem
addJunction, addListener, close, closeCommunicationLink, decorateFileObject, doReplicateFile, fireFileChanged, fireFileCreated, fireFileDeleted, getAttribute, getFileFromCache, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, getRootURI, hasCapability, init, isOpen, isReleaseable, notifyAllStreamsClosed, putFileToCache, removeFileFromCache, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttributeMethods inherited from class org.apache.commons.vfs2.provider.AbstractVfsComponent
getContext, getLogger, setContext, setLogger
-
Constructor Details
-
FtpsFileSystem
public FtpsFileSystem(GenericFileName rootName, FtpClient ftpClient, FileSystemOptions fileSystemOptions) Creates a new FtpsFileSystem.- Parameters:
rootName- The root of the file system.ftpClient- The FtpClient.fileSystemOptions- The FileSystemOptions.- Since:
- 2.1
-
-
Method Details
-
createWrapper
protected org.apache.commons.vfs2.provider.ftps.FtpsClientWrapper createWrapper() throws FileSystemExceptionDescription copied from class:FtpFileSystemGets the wrapper to access this file system.- Overrides:
createWrapperin classFtpFileSystem- Returns:
- new instance.
- Throws:
FileSystemException- if any error occurs.
-