Class DirectLogicalPathMapper
- java.lang.Object
-
- edu.wisc.library.ocfl.core.path.mapper.DirectLogicalPathMapper
-
- All Implemented Interfaces:
LogicalPathMapper
public class DirectLogicalPathMapper extends Object implements LogicalPathMapper
Directly maps logical paths to content paths without making any changes.
-
-
Constructor Summary
Constructors Constructor Description DirectLogicalPathMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoContentPathPart(String logicalPath)Maps a logical path to a content path.
-
-
-
Method Detail
-
toContentPathPart
public 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.- Specified by:
toContentPathPartin interfaceLogicalPathMapper- Parameters:
logicalPath- path to map- Returns:
- content path relative version content directory
-
-