Class FlattenFileMapper
java.lang.Object
org.codehaus.plexus.components.io.filemappers.AbstractFileMapper
org.codehaus.plexus.components.io.filemappers.FlattenFileMapper
- All Implemented Interfaces:
FileMapper
Implementation of a flattening file mapper: Removes all directory parts.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMappedFileName
(String pName) Checks the input and returns it without modifications.
-
Field Details
-
ROLE_HINT
The flatten file mappers role-hint: "flatten".- See Also:
-
-
Constructor Details
-
FlattenFileMapper
public FlattenFileMapper()
-
-
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.
-