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 AbstractFileMapperImplementation 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 StringgetMappedFileName(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:AbstractFileMapperChecks the input and returns it without modifications.- Specified by:
getMappedFileNamein interfaceFileMapper- Overrides:
getMappedFileNamein classAbstractFileMapper- Parameters:
pName- The source name.- Returns:
- The target name.
-
-