FileSystem
, VfsComponent
public class HttpFileSystem extends AbstractFileSystem
Modifier | Constructor | Description |
---|---|---|
protected |
HttpFileSystem(GenericFileName rootName,
org.apache.commons.httpclient.HttpClient client,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
addCapabilities(java.util.Collection<Capability> caps) |
Adds the capabilities of this file system.
|
void |
closeCommunicationLink() |
Close the underlying link used to access the files.
|
protected FileObject |
createFile(AbstractFileName name) |
Creates a file object.
|
protected org.apache.commons.httpclient.HttpClient |
getClient() |
addJunction, addListener, close, decorateFileObject, doCloseCommunicationLink, 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
getContext, getLogger, setContext, setLogger
protected HttpFileSystem(GenericFileName rootName, org.apache.commons.httpclient.HttpClient client, FileSystemOptions fileSystemOptions)
protected void addCapabilities(java.util.Collection<Capability> caps)
addCapabilities
in class AbstractFileSystem
caps
- collections of Capabilities, can be immutable.protected org.apache.commons.httpclient.HttpClient getClient()
public void closeCommunicationLink()
AbstractFileSystem
closeCommunicationLink
in class AbstractFileSystem
protected FileObject createFile(AbstractFileName name) throws java.lang.Exception
createFile
in class AbstractFileSystem
name
- name referencing the new file.java.lang.Exception
- might throw an Exception, which is then wrapped in FileSystemException.