FileSystem, VfsComponentpublic class FtpFileSystem extends AbstractFileSystem
| Modifier | Constructor | Description |
|---|---|---|
protected |
FtpFileSystem(GenericFileName rootName,
FtpClient ftpClient,
FileSystemOptions fileSystemOptions) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
addCapabilities(java.util.Collection caps) |
Adds the capabilities of this file system.
|
protected FileObject |
createFile(FileName name) |
Creates a file object.
|
protected void |
doCloseCommunicationLink() |
Close the underlaying link used to access the files
|
FtpClient |
getClient() |
Creates an FTP client to use.
|
void |
putClient(FtpClient client) |
Returns an FTP client after use.
|
addJunction, addListener, close, closeCommunicationLink, decorateFileObject, doReplicateFile, fireFileChanged, fireFileCreated, fireFileDeleted, getAttribute, getFileFromCache, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, hasCapability, init, isOpen, isReleaseable, notifyAllStreamsClosed, putFileToCache, removeFileFromCache, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttributegetContext, getLogger, setContext, setLoggerprotected FtpFileSystem(GenericFileName rootName, FtpClient ftpClient, FileSystemOptions fileSystemOptions)
protected void doCloseCommunicationLink()
AbstractFileSystemdoCloseCommunicationLink in class AbstractFileSystemprotected void addCapabilities(java.util.Collection caps)
addCapabilities in class AbstractFileSystempublic FtpClient getClient() throws FileSystemException
FileSystemExceptionpublic void putClient(FtpClient client)
protected FileObject createFile(FileName name) throws FileSystemException
createFile in class AbstractFileSystemFileSystemException