FileMapperpublic class MergeFileMapper extends AbstractFileMapper
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
ROLE_HINT |
The merge mappers role-hint: "merge".
|
DEFAULT_ROLE_HINT, ROLE| Constructor | Description |
|---|---|
MergeFileMapper() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getMappedFileName(java.lang.String pName) |
Checks the input and returns it without modifications.
|
java.lang.String |
getTargetName() |
Returns the merge mappers target name.
|
void |
setTargetName(java.lang.String pName) |
Sets the merge mappers target name.
|
public static final java.lang.String ROLE_HINT
public void setTargetName(java.lang.String pName)
java.lang.IllegalArgumentException - The target name is null or empty.public java.lang.String getTargetName()
java.lang.IllegalArgumentException - The target name is null or empty.@Nonnull
public java.lang.String getMappedFileName(@Nonnull
java.lang.String pName)
AbstractFileMappergetMappedFileName in interface FileMappergetMappedFileName in class AbstractFileMapperpName - The source name.