| Modifier and Type | Field and Description |
|---|---|
| private final Collection | |
| private final GetProperty | |
| private final Project |
| Access | Constructor and Description |
|---|---|
| public | ParseProperties(Project
the current Ant project. project, Collection<PropertyExpander> a sequence of expanders expanders, GetProperty property resolver. getProperty)Constructor with a getProperty. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if value contains property notation.the String to check. value)Learn whether a String contains replaceable properties. |
| public Project | Returns: the current Ant project.Implements org. |
| private Object | |
| public Object | Returns: Object or null if no property is at the current location. If a property reference has been found but the property doesn't expand to a value, the property's name is returned.String to parse value, ParsePosition ParsePosition pos)Implements org. |
| public Object | Returns: the original string with the properties replaced, ornull if the original string is null.The string to be scanned for property references.
May be value)null, in which case this
method returns immediately with no effect.Decode properties from a String representation. |
| private String |
| expanders | back to summary |
|---|---|
| private final Collection<PropertyExpander> expanders | |
| getProperty | back to summary |
|---|---|
| private final GetProperty getProperty | |
| project | back to summary |
|---|---|
| private final Project project | |
| ParseProperties | back to summary |
|---|---|
| public ParseProperties(Project project, Collection<PropertyExpander> expanders, GetProperty getProperty) Constructor with a getProperty.
| |
| containsProperties | back to summary |
|---|---|
| public boolean containsProperties(String value) Learn whether a String contains replaceable properties. Uses the configured
| |
| getProject | back to summary |
|---|---|
| public Project getProject() Implements org. Get the project. | |
| getProperty | back to summary |
|---|---|
| private Object getProperty(String propertyName) | |
| parseNextProperty | back to summary |
|---|---|
| public Object parseNextProperty(String value, ParsePosition pos) Implements org. Return any property that can be parsed from the specified position in the specified String. Uses the configured
| |
| parseProperties | back to summary |
|---|---|
| public Object parseProperties(String value) Decode properties from a String representation.
If the entire contents of | |
| parsePropertyName | back to summary |
|---|---|
| private String parsePropertyName(String value, ParsePosition pos) | |