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() |
| 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 void setFrom(String from)
setFrom in interface FileNameMapperpublic void setTo(String to)
setTo in interface FileNameMapperpublic String[] mapFileName(String sourceFileName)
mapFileName in interface FileNameMappersourceFileName - the name of the source file relative to
some given basedirectory.Copyright © 2001–2025. All rights reserved.