org.codehaus.plexus.components.io.filemappers
Class MergeFileMapper
java.lang.Object
org.codehaus.plexus.components.io.filemappers.AbstractFileMapper
org.codehaus.plexus.components.io.filemappers.MergeFileMapper
- All Implemented Interfaces:
- FileMapper
public class MergeFileMapper
- extends AbstractFileMapper
A file mapper, which maps to a constant target name.
|
Field Summary |
static String |
ROLE_HINT
The merge mappers role-hint: "merge". |
| 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 merge mappers role-hint: "merge".
- See Also:
- Constant Field Values
MergeFileMapper
public MergeFileMapper()
setTargetName
public void setTargetName(String pName)
- Sets the merge mappers target name.
- Throws:
IllegalArgumentException - The target name is null or empty.
getTargetName
public String getTargetName()
- Returns the merge mappers target name.
- Throws:
IllegalArgumentException - The target name is null or empty.
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-2012 Codehaus. All Rights Reserved.