org.codehaus.plexus.components.io.filemappers
Class IdentityMapper
java.lang.Object
org.codehaus.plexus.components.io.filemappers.AbstractFileMapper
org.codehaus.plexus.components.io.filemappers.IdentityMapper
- All Implemented Interfaces:
- FileMapper
public class IdentityMapper
- extends AbstractFileMapper
Default implementation of FileMapper
, which performs the identity mapping: All names are left unchanged.
Field Summary |
static String |
ROLE_HINT
The identity mappers role-hint: "identity". |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROLE_HINT
public static final String ROLE_HINT
- The identity mappers role-hint: "identity".
- See Also:
- Constant Field Values
IdentityMapper
public IdentityMapper()
getMappedFileName
public String getMappedFileName(String pName)
- Description copied from class:
AbstractFileMapper
- Checks the input and returns it without modifications.
- Specified by:
getMappedFileName
in interface FileMapper
- Overrides:
getMappedFileName
in class AbstractFileMapper
- Parameters:
pName
- The source name.
- Returns:
- The target name.
Copyright © 2001-2011 Codehaus. All Rights Reserved.