|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.vfs2.provider.AbstractVfsComponent
org.apache.commons.vfs2.provider.AbstractFileSystem
org.apache.commons.vfs2.provider.ftp.FtpFileSystem
public class FtpFileSystem
An FTP file system.
| Constructor Summary | |
|---|---|
FtpFileSystem(GenericFileName rootName,
FtpClient ftpClient,
FileSystemOptions fileSystemOptions)
|
|
| Method Summary | |
|---|---|
protected void |
addCapabilities(Collection<Capability> caps)
Adds the capabilities of this file system. |
protected FileObject |
createFile(AbstractFileName 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. |
| Methods 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, setAttribute |
| Methods inherited from class org.apache.commons.vfs2.provider.AbstractVfsComponent |
|---|
getContext, getLogger, setContext, setLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FtpFileSystem(GenericFileName rootName,
FtpClient ftpClient,
FileSystemOptions fileSystemOptions)
rootName - The root of the file system.ftpClient - The FtpClient.fileSystemOptions - The FileSystemOptions.| Method Detail |
|---|
protected void doCloseCommunicationLink()
AbstractFileSystem
doCloseCommunicationLink in class AbstractFileSystemprotected void addCapabilities(Collection<Capability> caps)
addCapabilities in class AbstractFileSystem
public FtpClient getClient()
throws FileSystemException
FileSystemException - if an error occurs.public void putClient(FtpClient client)
client - The FTPClient.
protected FileObject createFile(AbstractFileName name)
throws FileSystemException
createFile in class AbstractFileSystemFileSystemException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||