public class PathConvert.MapEntry extends Object
Constructor and Description |
---|
MapEntry() |
Modifier and Type | Method and Description |
---|---|
String |
apply(String elem)
Apply this map entry to a given path element.
|
void |
setFrom(String from)
Set the "from" attribute of the map entry.
|
void |
setTo(String to)
Set the replacement text to use when from is matched; required.
|
public String apply(String elem)
elem
- Path element to process.public void setFrom(String from)
from
- the prefix string to search for; required.
Note that this value is case-insensitive when the build is
running on a Windows platform and case-sensitive when running on
a Unix platform.public void setTo(String to)
to
- new prefix.