|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.taskdefs.PathConvert.MapEntry
Helper class, holds the nested <map> values. Elements will look like this: <map from="d:" to="/foo"/> When running on windows, the prefix comparison will be case insensitive.
Constructor Summary | |
PathConvert.MapEntry()
|
Method Summary | |
java.lang.String |
apply(java.lang.String elem)
Apply this map entry to a given path element |
void |
setFrom(java.lang.String from)
the prefix string to search for; required. |
void |
setTo(java.lang.String to)
The replacement text to use when from is matched; required. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PathConvert.MapEntry()
Method Detail |
public void setFrom(java.lang.String from)
from
- public void setTo(java.lang.String to)
to
- new prefixpublic java.lang.String apply(java.lang.String elem)
elem
- Path element to process
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |