org.apache.tools.ant.util
Class FlatFileNameMapper
public
class
FlatFileNameMapper
extends Object
implements FileNameMapper
Implementation of FileNameMapper that always returns the source
file name without any leading directory information.
This is the default FileNameMapper for the copy and move
tasks if the flatten attribute has been set.
| Method Summary |
| String[] | mapFileName(String sourceFileName)
Returns an one-element array containing the source file name
without any leading directory information. |
| void | setFrom(String from)
Ignored. |
| void | setTo(String to)
Ignored. |
public String[] mapFileName(String sourceFileName)
Returns an one-element array containing the source file name
without any leading directory information.
public void setFrom(String from)
Ignored.
public void setTo(String to)
Ignored.
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.