Class FlattenFileMapper
- java.lang.Object
-
- org.codehaus.plexus.components.io.filemappers.AbstractFileMapper
-
- org.codehaus.plexus.components.io.filemappers.FlattenFileMapper
-
- All Implemented Interfaces:
FileMapper
@Named("flatten") public class FlattenFileMapper extends AbstractFileMapper
Implementation of a flattening file mapper: Removes all directory parts.
-
-
Constructor Summary
Constructors Constructor Description FlattenFileMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMappedFileName(String pName)
Checks the input and returns it without modifications.
-
-
-
Field Detail
-
ROLE_HINT
public static final String ROLE_HINT
The flatten file mappers role-hint: "flatten".- See Also:
- Constant Field Values
-
-
Method Detail
-
getMappedFileName
@Nonnull public String getMappedFileName(@Nonnull String pName)
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.
-
-