Package net.fortuna.ical4j.connector.dav
Interface PathResolver
-
- All Known Implementing Classes:
PathResolver.Defaults
public interface PathResolverImplementations resolve host path elements.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPathResolver.Defaults
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetPrincipalPath(String calendarId)Return the principal collection path for a DAV server implementation.StringgetRepositoryRoot(String resourcePath, String wspPath)Return the resource path (e.g.StringgetResourcePath(String repositoryPath, String wspPath)StringgetRootPath()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
-
-