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