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