public class IdentityMapper extends AbstractFileMapper
FileMapper
, which performs the identity mapping: All names are left unchanged.Modifier and Type | Field and Description |
---|---|
static String |
ROLE_HINT
The identity mappers role-hint: "identity".
|
DEFAULT_ROLE_HINT, ROLE
Constructor and Description |
---|
IdentityMapper() |
Modifier and Type | Method and Description |
---|---|
String |
getMappedFileName(String pName)
Checks the input and returns it without modifications.
|
public static final String ROLE_HINT
@Nonnull public String getMappedFileName(@Nonnull String pName)
AbstractFileMapper
getMappedFileName
in interface FileMapper
getMappedFileName
in class AbstractFileMapper
pName
- The source name.Copyright © 2001–2018 Codehaus Plexus. All rights reserved.