Package net.fortuna.ical4j.connector.dav
Interface PathResolver
-
- All Known Implementing Classes:
PathResolver.Defaults
public interface PathResolver
Implementations resolve host path elements.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PathResolver.Defaults
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getPrincipalPath(String calendarId)
Return the principal collection path for a DAV server implementation.String
getRepositoryRoot(String resourcePath, String wspPath)
Return the resource path (e.g.String
getResourcePath(String repositoryPath, String wspPath)
String
getRootPath()
Return the root path for a DAV server implementation.
-
-
-
Method Detail
-
getRootPath
String getRootPath()
Return the root path for a DAV server implementation.- Returns:
- a string representing the root path of a repository URL.
-
getPrincipalPath
String getPrincipalPath(String calendarId)
Return the principal collection path for a DAV server implementation.- Parameters:
calendarId
- a calendar id- Returns:
- a string representing the path to the principal collection for a calendar
-
getRepositoryRoot
String getRepositoryRoot(String resourcePath, String wspPath)
Return the resource path (e.g. calendar collection) for a DAV server implementation.- Parameters:
resourcePath
- a path component representing a resource- Returns:
- a string representing the repository path to the resource
-
-