public class IdentityMapper extends Object implements FileNameMapper
This is the default FileNameMapper for the copy and move tasks.
Constructor and Description |
---|
IdentityMapper() |
Modifier and Type | Method and Description |
---|---|
String[] |
mapFileName(String sourceFileName)
Returns an one-element array containing the source file name.
|
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.