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
public abstract class AbstractFileMapper extends Object implements FileMapper
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
Constructors Constructor Description AbstractFileMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMappedFileName(String pName)Checks the input and returns it without modifications.
-
-
-
Method Detail
-
getMappedFileName
@Nonnull public String getMappedFileName(@Nonnull String pName)
Checks the input and returns it without modifications.- Specified by:
getMappedFileNamein interfaceFileMapper- Parameters:
pName- The source name.- Returns:
- The target name.
-
-