|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.artifact.ant.VersionMapper
public class VersionMapper
| Constructor Summary | |
|---|---|
VersionMapper()
|
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
|
java.lang.String[] |
mapFileName(java.lang.String sourceFileName)
|
void |
setFrom(java.lang.String from)
Set the versions identifiers that this mapper can remove from filename. |
void |
setTo(java.lang.String to)
By default, only filename is changed, but if this attribute is set to flatten, directory is
removed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public VersionMapper()
| Method Detail |
|---|
public java.lang.String[] mapFileName(java.lang.String sourceFileName)
mapFileName in interface org.apache.tools.ant.util.FileNameMapperpublic void setFrom(java.lang.String from)
setFrom in interface org.apache.tools.ant.util.FileNameMapperpublic void setTo(java.lang.String to)
flatten, directory is
removed.
setTo in interface org.apache.tools.ant.util.FileNameMapper
public int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||