Class WebdavFile

java.lang.Object
java.io.File
org.apache.webdav.lib.WebdavFile
All Implemented Interfaces:
Serializable, Comparable<File>

public class WebdavFile extends File
Implements a file for WebDav
See Also:
  • Field Details

    • davSeparatorChar

      public static final char davSeparatorChar
      Directory separator
      See Also:
    • davSeparator

      public static final String davSeparator
      Directory separator
  • Constructor Details

    • WebdavFile

      public WebdavFile(WebdavFile parent, String child) throws org.apache.commons.httpclient.URIException
      Parameters:
      parent - directory
      child - element in parent
      Throws:
      org.apache.commons.httpclient.URIException
    • WebdavFile

      public WebdavFile(String pathname, String user, String pass) throws org.apache.commons.httpclient.URIException
      Parameters:
      pathname - complete path to element
      user - user name
      pass - password
      Throws:
      org.apache.commons.httpclient.URIException
    • WebdavFile

      public WebdavFile(URL url, String user, String pass) throws org.apache.commons.httpclient.URIException
      Parameters:
      url - file url
      user - user name
      pass - password
      Throws:
      org.apache.commons.httpclient.URIException
    • WebdavFile

      public WebdavFile(String parent, String child, String user, String pass) throws org.apache.commons.httpclient.URIException
      Parameters:
      parent - parent name
      child - name of element in parent
      user - user name
      pass - password
      Throws:
      org.apache.commons.httpclient.URIException
    • WebdavFile

      public WebdavFile(org.apache.commons.httpclient.HttpURL httpUrl) throws org.apache.commons.httpclient.URIException
      Parameters:
      httpUrl - Webdav URL
      Throws:
      org.apache.commons.httpclient.URIException
    • WebdavFile

      public WebdavFile(String aPath)
      A WebdavFile with a relative file. Hence nobody keeps track of a "working directory" the resulting object is only a container for a String (pathname). You cannot do anything usefull with an instance created this way
  • Method Details