org.apache.tools.ant.util
Class MergingMapper
java.lang.Objectorg.apache.tools.ant.util.MergingMapper
- FileNameMapper
public class MergingMapper
extends java.lang.Object
Implementation of FileNameMapper that always returns the same
target file name.
This is the default FileNameMapper for the archiving tasks and
uptodate.
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.
|
mergedFile
protected String[] mergedFile
mapFileName
public String[] mapFileName(String sourceFileName)
Returns an one-element array containing the file name set via setTo.
- mapFileName in interface FileNameMapper
setTo
public void setTo(String to)
Sets the name of the merged file.
- setTo in interface FileNameMapper
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.