org.apache.maven.shared.model.fileset.mappers
Class MergingMapper
java.lang.Object
org.apache.maven.shared.model.fileset.mappers.MergingMapper
- All Implemented Interfaces:
- FileNameMapper
- public class MergingMapper
- extends Object
- implements FileNameMapper
Implementation of FileNameMapper that always returns the same
target file name.
This is the default FileNameMapper for the archiving tasks and
uptodate.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mergedFile
protected String mergedFile
MergingMapper
public MergingMapper()
setFrom
public void setFrom(String from)
- Ignored.
- Specified by:
setFrom in interface FileNameMapper
setTo
public void setTo(String to)
- Sets the name of the merged file.
- Specified by:
setTo in interface FileNameMapper
mapFileName
public String mapFileName(String sourceFileName)
- Returns an one-element array containing the file name set via setTo.
- Specified by:
mapFileName in interface FileNameMapper
- Parameters:
sourceFileName - the name of the source file relative to
some given basedirectory.
Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.