Class MergeFileMapper
java.lang.Object
org.codehaus.plexus.components.io.filemappers.AbstractFileMapper
org.codehaus.plexus.components.io.filemappers.MergeFileMapper
- All Implemented Interfaces:
FileMapper
A file mapper, which maps to a constant target name.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMappedFileName(String pName) Checks the input and returns it without modifications.Returns the merge mappers target name.voidsetTargetName(String pName) Sets the merge mappers target name.
-
Field Details
-
ROLE_HINT
-
-
Constructor Details
-
MergeFileMapper
public MergeFileMapper()
-
-
Method Details
-
setTargetName
Sets the merge mappers target name.- Throws:
IllegalArgumentException- The target name is null or empty.
-
getTargetName
Returns the merge mappers target name.- Throws:
IllegalArgumentException- The target name is null or empty.
-
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.
-