Class IdentityMapper
java.lang.Object
org.codehaus.plexus.components.io.filemappers.AbstractFileMapper
org.codehaus.plexus.components.io.filemappers.IdentityMapper
- All Implemented Interfaces:
FileMapper
- Direct Known Subclasses:
DefaultFileMapper
Default implementation of
FileMapper, which performs the identity mapping: All names are left unchanged.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMappedFileName(String pName) Checks the input and returns it without modifications.
-
Field Details
-
ROLE_HINT
-
-
Constructor Details
-
IdentityMapper
public IdentityMapper()
-
-
Method Details
-
getMappedFileName
Description copied from class:AbstractFileMapperChecks the input and returns it without modifications.- Specified by:
getMappedFileNamein interfaceFileMapper- Overrides:
getMappedFileNamein classAbstractFileMapper- Parameters:
pName- The source name.- Returns:
- The target name.
-