This is the default FileNameMapper for the copy and move tasks if the flatten attribute has been set.
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public String[] | Returns: the file name in a one-element array.the name to map. sourceFileName)Implements org. |
public void | |
public void |
FlatFileNameMapper | back to summary |
---|---|
public FlatFileNameMapper() |
mapFileName | back to summary |
---|---|
public String[] mapFileName(String sourceFileName) Implements org. Returns an one-element array containing the source file name without any leading directory information. |
setFrom | back to summary |
---|---|
public void setFrom(String from) Implements org. Ignored. |
setTo | back to summary |
---|---|
public void setTo(String to) Implements org. Ignored. |