FileNameMapperpublic class MergingMapper extends java.lang.Object implements FileNameMapper
This is the default FileNameMapper for the archiving tasks and uptodate.
| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.String[] |
mergedFile |
| Constructor | Description |
|---|---|
MergingMapper() |
|
MergingMapper(java.lang.String to) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String[] |
mapFileName(java.lang.String sourceFileName) |
Returns an one-element array containing the file name set via setTo.
|
void |
setFrom(java.lang.String from) |
Ignored.
|
void |
setTo(java.lang.String to) |
Sets the name of the merged file.
|
public MergingMapper()
public MergingMapper(java.lang.String to)
to - Stringpublic void setFrom(java.lang.String from)
setFrom in interface FileNameMapperfrom - ignored.public void setTo(java.lang.String to)
setTo in interface FileNameMapperto - the name of the merged file.public java.lang.String[] mapFileName(java.lang.String sourceFileName)
mapFileName in interface FileNameMappersourceFileName - ignored.