protected class VfsDavLocatorFactory.Locator extends Object implements org.apache.jackrabbit.webdav.DavResourceLocator
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Equality of path is achieved if the specified object is a
DavResourceLocator object with the
same hash code. |
org.apache.jackrabbit.webdav.DavLocatorFactory |
getFactory() |
String |
getHref(boolean isCollection) |
String |
getPrefix() |
String |
getRepositoryPath()
Returns the same as
getResourcePath(). |
String |
getResourcePath() |
String |
getWorkspaceName() |
String |
getWorkspacePath() |
int |
hashCode()
Computes the hash code from the href, which is built using the final fields prefix and resourcePath.
|
boolean |
isRootLocation() |
boolean |
isSameWorkspace(org.apache.jackrabbit.webdav.DavResourceLocator locator) |
boolean |
isSameWorkspace(String workspaceName) |
public String getPrefix()
getPrefix in interface org.apache.jackrabbit.webdav.DavResourceLocatorpublic String getResourcePath()
getResourcePath in interface org.apache.jackrabbit.webdav.DavResourceLocatorpublic String getWorkspacePath()
getWorkspacePath in interface org.apache.jackrabbit.webdav.DavResourceLocatorpublic String getWorkspaceName()
getWorkspaceName in interface org.apache.jackrabbit.webdav.DavResourceLocatorpublic boolean isSameWorkspace(org.apache.jackrabbit.webdav.DavResourceLocator locator)
isSameWorkspace in interface org.apache.jackrabbit.webdav.DavResourceLocatorpublic boolean isSameWorkspace(String workspaceName)
isSameWorkspace in interface org.apache.jackrabbit.webdav.DavResourceLocatorpublic String getHref(boolean isCollection)
getHref in interface org.apache.jackrabbit.webdav.DavResourceLocatorpublic boolean isRootLocation()
isRootLocation in interface org.apache.jackrabbit.webdav.DavResourceLocatorpublic org.apache.jackrabbit.webdav.DavLocatorFactory getFactory()
getFactory in interface org.apache.jackrabbit.webdav.DavResourceLocatorpublic String getRepositoryPath()
getResourcePath(). No encoding is performed at all.getRepositoryPath in interface org.apache.jackrabbit.webdav.DavResourceLocatorDavResourceLocator.getRepositoryPath()public int hashCode()
Copyright © 2020. All rights reserved.