public abstract class

WebDavUtils

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.util.WebDavUtils

Class Overview

Collection of utility methods for working with a webDAV server This isn't used at the moment, because it's broken!!!

Summary

Public Constructors
WebDavUtils()
Public Methods
static List getVersionsOfResource(WebdavResource wdr)
Returns a list of paths for each version of a webDAV resource in order from oldest to newest Needed as WebdavResource.reportMethod() does not preserve the order of results (uses a hashmap)
static HttpURL uriToHttpURL(String uri)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public WebDavUtils ()

Public Methods

public static List getVersionsOfResource (WebdavResource wdr)

Returns a list of paths for each version of a webDAV resource in order from oldest to newest Needed as WebdavResource.reportMethod() does not preserve the order of results (uses a hashmap)

Parameters
wdr any resource connected to a webDAV server
Returns
  • list of version path strings
Throws
IOException

public static HttpURL uriToHttpURL (String uri)

Throws
URIException