Package org.apache.tools.ant.util
Class MergingMapper
java.lang.Object
org.apache.tools.ant.util.MergingMapper
- All Implemented Interfaces:
- FileNameMapper
Implementation of FileNameMapper that always returns the same
 target file name.
 
This is the default FileNameMapper for the archiving tasks and uptodate.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
mergedFile
 
- 
- 
Constructor Details- 
MergingMapperpublic MergingMapper()
- 
MergingMapper- Parameters:
- to- String
- Since:
- Ant 1.8.0
 
 
- 
- 
Method Details- 
setFromIgnored.- Specified by:
- setFromin interface- FileNameMapper
- Parameters:
- from- ignored.
 
- 
setToSets the name of the merged file.- Specified by:
- setToin interface- FileNameMapper
- Parameters:
- to- the name of the merged file.
 
- 
mapFileNameReturns an one-element array containing the file name set via setTo.- Specified by:
- mapFileNamein interface- FileNameMapper
- Parameters:
- sourceFileName- ignored.
- Returns:
- a one-element array containing the merged filename.
 
 
-