org.apache.commons.vfs.provider.webdav
Class WebDavFileSystem

java.lang.Object
  extended by org.apache.commons.vfs.provider.AbstractVfsComponent
      extended by org.apache.commons.vfs.provider.AbstractFileSystem
          extended by 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: 548717 $ $Date: 2007-06-19 14:07:40 +0100 (Tue, 19 Jun 2007) $
Author:
Adam Murdoch

Constructor Summary
protected WebDavFileSystem(GenericFileName rootName, org.apache.commons.httpclient.HttpClient client, FileSystemOptions fileSystemOptions)
           
 
Method Summary
protected  void addCapabilities(java.util.Collection caps)
          Adds the capabilities of this file system.
 void closeCommunicationLink()
          Close the underlaying link used to access the files
protected  FileObject createFile(FileName name)
          Creates a file object.
protected  org.apache.commons.httpclient.HttpClient getClient()
          Returns the client for this file system.
 
Methods inherited from class org.apache.commons.vfs.provider.AbstractFileSystem
addJunction, addListener, close, decorateFileObject, doCloseCommunicationLink, doReplicateFile, fireFileChanged, fireFileCreated, fireFileDeleted, getAttribute, getFileFromCache, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, hasCapability, init, isOpen, isReleaseable, notifyAllStreamsClosed, putFileToCache, removeFileFromCache, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttribute
 
Methods inherited from class org.apache.commons.vfs.provider.AbstractVfsComponent
getContext, getLogger, setContext, setLogger
 
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
 

Constructor Detail

WebDavFileSystem

protected WebDavFileSystem(GenericFileName rootName,
                           org.apache.commons.httpclient.HttpClient client,
                           FileSystemOptions fileSystemOptions)
Method Detail

addCapabilities

protected void addCapabilities(java.util.Collection caps)
Adds the capabilities of this file system.

Specified by:
addCapabilities in class AbstractFileSystem

getClient

protected org.apache.commons.httpclient.HttpClient getClient()
Returns the client for this file system.


closeCommunicationLink

public void closeCommunicationLink()
Description copied from class: AbstractFileSystem
Close the underlaying link used to access the files

Overrides:
closeCommunicationLink in class AbstractFileSystem

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-2008 The Apache Software Foundation. All Rights Reserved.