Interface LogicalPathMapper

  • All Known Implementing Classes:
    DirectLogicalPathMapper, PercentEncodingLogicalPathMapper

    public interface LogicalPathMapper
    Maps logical paths to content paths. In this case, the content paths are not full content paths relative the object root directory, but rather partial content paths that are relative a version's content directory. The primary concern here is transforming illegal characters and ensuring that the path is not too long, so that it can safely be written to disk.
    See Also:
    LogicalPathMappers
    • Method Detail

      • toContentPathPart

        String toContentPathPart​(String logicalPath)
        Maps a logical path to a content path. This content path MUST be relative a version's content directory; not the object root.
        Parameters:
        logicalPath - path to map
        Returns:
        content path relative version content directory