org.codehaus.plexus.components.io.filemappers
Class FlattenFileMapper
java.lang.Object
org.codehaus.plexus.components.io.filemappers.AbstractFileMapper
org.codehaus.plexus.components.io.filemappers.FlattenFileMapper
- All Implemented Interfaces:
- FileMapper
public class FlattenFileMapper
- extends AbstractFileMapper
Implementation of a flattening file mapper: Removes all directory parts.
Field Summary |
static String |
ROLE_HINT
The flatten file mappers role-hint: "flatten". |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROLE_HINT
public static final String ROLE_HINT
- The flatten file mappers role-hint: "flatten".
- See Also:
- Constant Field Values
FlattenFileMapper
public FlattenFileMapper()
getMappedFileName
public String getMappedFileName(String pName)
- Description copied from class:
AbstractFileMapper
- Checks the input and returns it without modifications.
- Specified by:
getMappedFileName
in interface FileMapper
- Overrides:
getMappedFileName
in class AbstractFileMapper
- Parameters:
pName
- The source name.
- Returns:
- The target name.
Copyright © 2001-2012 Codehaus. All Rights Reserved.