Class AbstractFileMapper
java.lang.Object
org.codehaus.plexus.components.io.filemappers.AbstractFileMapper
- All Implemented Interfaces:
FileMapper
- Direct Known Subclasses:
FileExtensionMapper
,FlattenFileMapper
,IdentityMapper
,MergeFileMapper
,PrefixFileMapper
,RegExpFileMapper
,SuffixFileMapper
Abstract base class for deriving file mappers. It is recommended
to use this class, if your implement your own file mappers, as
this might allow to extend the FileMapper interface later on
without loosing upwards compatibility.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMappedFileName
(String pName) Checks the input and returns it without modifications.
-
Constructor Details
-
AbstractFileMapper
public AbstractFileMapper()
-
-
Method Details
-
getMappedFileName
Checks the input and returns it without modifications.- Specified by:
getMappedFileName
in interfaceFileMapper
- Parameters:
pName
- The source name.- Returns:
- The target name.
-