Top Description Methods
org.apache.tools.ant.property

public Interface ParseNextProperty

Known Direct Implementers
org.apache.tools.ant.property.ParseProperties
Imports
java.text.ParsePosition, org.apache.tools.ant.Project

Helper for PropertyExpander that can be used to expand property references to values.
Since
Ant 1.8.0

Method Summary

Modifier and TypeMethod and Description
public Project

Returns:

the current ant project.
getProject
()

Get the current project.

public Object

Returns:

Object or null if no property is at the current location.
parseNextProperty
(String
String to parse
value
,
ParsePosition
ParsePosition
pos
)

Return any property that can be parsed from the specified position in the specified String.

Method Detail

getProjectback to summary
public Project getProject()

Get the current project.

Returns:Project

the current ant project.

parseNextPropertyback to summary
public Object parseNextProperty(String value, ParsePosition pos)

Return any property that can be parsed from the specified position in the specified String.

Parameters
value:String

String to parse

pos:ParsePosition

ParsePosition

Returns:Object

Object or null if no property is at the current location.