|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.maven.shared.model.fileset.mappers.IdentityMapper
Implementation of FileNameMapper that always returns the source file name.
This is the default FileNameMapper for the copy and move tasks.
| Constructor Summary | |
IdentityMapper()
|
|
| Method Summary | |
String |
mapFileName(String sourceFileName)
Returns an one-element array containing the source file name. |
void |
setFrom(String from)
Ignored. |
void |
setTo(String to)
Ignored. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IdentityMapper()
| Method Detail |
public void setFrom(String from)
setFrom in interface FileNameMapperpublic void setTo(String to)
setTo in interface FileNameMapperpublic String mapFileName(String sourceFileName)
mapFileName in interface FileNameMappersourceFileName - the name of the source file relative to
some given basedirectory.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||