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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMappedFileName
(String pName) Checks the input and returns it without modifications.
-
Field Details
-
ROLE_HINT
The identity mappers role-hint: "identity".- See Also:
-
-
Constructor Details
-
IdentityMapper
public IdentityMapper()
-
-
Method Details
-
getMappedFileName
Description copied from class:AbstractFileMapper
Checks the input and returns it without modifications.- Specified by:
getMappedFileName
in interfaceFileMapper
- Overrides:
getMappedFileName
in classAbstractFileMapper
- Parameters:
pName
- The source name.- Returns:
- The target name.
-