Package io.ocfl.core.path.mapper
Class DirectLogicalPathMapper
java.lang.Object
io.ocfl.core.path.mapper.DirectLogicalPathMapper
- All Implemented Interfaces:
LogicalPathMapper
Directly maps logical paths to content paths without making any changes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoContentPathPart
(String logicalPath) Maps a logical path to a content path.
-
Constructor Details
-
DirectLogicalPathMapper
public DirectLogicalPathMapper()
-
-
Method Details
-
toContentPathPart
Maps a logical path to a content path. This content path MUST be relative a version's content directory; not the object root.- Specified by:
toContentPathPart
in interfaceLogicalPathMapper
- Parameters:
logicalPath
- path to map- Returns:
- content path relative version content directory
-