org.apache.commons.vfs.provider.webdav
Class WebDavFileSystem
java.lang.Object
org.apache.commons.vfs.provider.AbstractVfsComponent
org.apache.commons.vfs.provider.AbstractFileSystem
org.apache.commons.vfs.provider.webdav.WebDavFileSystem
- All Implemented Interfaces:
- FileSystem, VfsComponent
- public class WebDavFileSystem
- extends AbstractFileSystem
- implements FileSystem
A WebDAV file system.
- Version:
- $Revision: 209275 $ $Date: 2005-07-05 16:14:22 +0200 (Tue, 05 Jul 2005) $
- Author:
- Adam Murdoch
Methods inherited from class org.apache.commons.vfs.provider.AbstractFileSystem |
addJunction, addListener, close, closeCommunicationLink, doCloseCommunicationLink, doReplicateFile, fireFileChanged, fireFileCreated, fireFileDeleted, getAttribute, getFileFromCache, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, hasCapability, init, isReleaseable, putFileToCache, removeFileFromCache, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.vfs.FileSystem |
addJunction, addListener, getAttribute, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, hasCapability, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttribute |
WebDavFileSystem
protected WebDavFileSystem(GenericFileName rootName,
org.apache.commons.httpclient.HttpClient client,
FileSystemOptions fileSystemOptions)
addCapabilities
protected void addCapabilities(Collection caps)
- Adds the capabilities of this file system.
- Specified by:
addCapabilities
in class AbstractFileSystem
getClient
protected org.apache.commons.httpclient.HttpClient getClient()
throws FileSystemException
- Returns the client for this file system.
- Throws:
FileSystemException
closeHttpClientConnection
protected void closeHttpClientConnection()
throws FileSystemException
- Throws:
FileSystemException
createFile
protected FileObject createFile(FileName name)
- Creates a file object. This method is called only if the requested
file is not cached.
- Specified by:
createFile
in class AbstractFileSystem
Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.