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.
Constructor and Description |
---|
FlatFileNameMapper() |
Modifier and Type | Method and Description |
---|---|
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)
mapFileName
in interface FileNameMapper
sourceFileName
- the name to map.public void setFrom(String from)
setFrom
in interface FileNameMapper
from
- ignored.public void setTo(String to)
setTo
in interface FileNameMapper
to
- ignored.