org.codehaus.plexus.components.io.filemappers
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
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFileMapper
public AbstractFileMapper()
getMappedFileName
public String getMappedFileName(String pName)
- Checks the input and returns it without modifications.
- Specified by:
getMappedFileName
in interface FileMapper
- Parameters:
pName
- The source name.
- Returns:
- The target name.
Copyright © 2001-2011 Codehaus. All Rights Reserved.