public class MergingMapper extends java.lang.Object implements FileNameMapper
This is the default FileNameMapper for the archiving tasks and uptodate.
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String[] |
mergedFile |
| Constructor and Description |
|---|
MergingMapper() |
MergingMapper(java.lang.String to) |
| Modifier and Type | Method and 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.