Class DavLocatorFactoryImpl

  • All Implemented Interfaces:
    org.apache.jackrabbit.webdav.DavLocatorFactory

    public class DavLocatorFactoryImpl
    extends org.apache.jackrabbit.webdav.AbstractLocatorFactory
    DavLocatorFactoryImpl...
    • Constructor Detail

      • DavLocatorFactoryImpl

        public DavLocatorFactoryImpl​(String pathPrefix)
        Create a new factory
        Parameters:
        pathPrefix - Prefix, that needs to be removed in order to retrieve the repository path from a given href.
    • Method Detail

      • getRepositoryPath

        protected String getRepositoryPath​(String resourcePath,
                                           String wspPath)
        Specified by:
        getRepositoryPath in class org.apache.jackrabbit.webdav.AbstractLocatorFactory
        Parameters:
        resourcePath -
        wspPath -
        Returns:
        See Also:
        AbstractLocatorFactory.getRepositoryPath(String, String)
      • getResourcePath

        protected String getResourcePath​(String repositoryPath,
                                         String wspPath)
        Specified by:
        getResourcePath in class org.apache.jackrabbit.webdav.AbstractLocatorFactory
        Parameters:
        repositoryPath -
        wspPath -
        Returns:
        See Also:
        AbstractLocatorFactory.getResourcePath(String, String)