public class FlatFileNameMapper extends java.lang.Object implements FileNameMapper
This is the default FileNameMapper for the copy and move tasks if the flatten attribute has been set.
| Constructor and Description | 
|---|
| FlatFileNameMapper() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String[] | mapFileName(java.lang.String sourceFileName)Returns an one-element array containing the source file name
 without any leading directory information. | 
| void | setFrom(java.lang.String from)Ignored. | 
| void | setTo(java.lang.String to)Ignored. | 
public void setFrom(java.lang.String from)
setFrom in interface FileNameMapperfrom - ignored.public void setTo(java.lang.String to)
setTo in interface FileNameMapperto - ignored.public java.lang.String[] mapFileName(java.lang.String sourceFileName)
mapFileName in interface FileNameMappersourceFileName - the name to map.