com.caucho.servlets.webdav
Class FilePath

java.lang.Object
  extended by com.caucho.servlets.webdav.AbstractPath
      extended by com.caucho.servlets.webdav.ApplicationPath
          extended by com.caucho.servlets.webdav.FilePath

public class FilePath
extends ApplicationPath

Represents a virtual filesystem.


Field Summary
 
Fields inherited from class com.caucho.servlets.webdav.AbstractPath
log
 
Constructor Summary
FilePath()
           
FilePath(Path root)
           
 
Method Summary
protected  Path getPath(java.lang.String path, HttpServletRequest request, ServletContext app)
          Returns the underlying path.
 Path getRoot()
          Returns the root path.
 void setRoot(Path path)
          path the root path.
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.servlets.webdav.ApplicationPath
canRead, exists, getAttribute, getAttributeNames, getLastModified, getLength, isDirectory, isFile, list, mkdir, openRead, openWrite, remove, removeAttribute, rmdir, setAttribute
 
Methods inherited from class com.caucho.servlets.webdav.AbstractPath
destroy, removeAttribute, rename
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilePath

public FilePath()

FilePath

public FilePath(Path root)
Method Detail

setRoot

public void setRoot(Path path)
path the root path.


getRoot

public Path getRoot()
Returns the root path.


getPath

protected Path getPath(java.lang.String path,
                       HttpServletRequest request,
                       ServletContext app)
                throws java.io.IOException
Returns the underlying path.

Overrides:
getPath in class ApplicationPath
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object