org.apache.tools.ant.util
public class FlatFileNameMapper extends Object implements FileNameMapper
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. |
Parameters: sourceFileName the name to map.
Returns: the file name in a one-element array.
Parameters: from ignored.
Parameters: to ignored.