public class PathConvert.MapEntry
extends java.lang.Object
| Constructor | Description |
|---|---|
MapEntry() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
apply(java.lang.String elem) |
Apply this map entry to a given path element.
|
void |
setFrom(java.lang.String from) |
Set the "from" attribute of the map entry.
|
void |
setTo(java.lang.String to) |
Set the replacement text to use when from is matched; required.
|
public void setFrom(java.lang.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(java.lang.String to)
to - new prefix.public java.lang.String apply(java.lang.String elem)
elem - Path element to process.