org.apache.tools.ant.property

Interface ParseNextProperty

public interface ParseNextProperty

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

Since: Ant 1.8.0

Method Summary
ProjectgetProject()
Get the current project.
ObjectparseNextProperty(String value, ParsePosition pos)
Return any property that can be parsed from the specified position in the specified String.

Method Detail

getProject

public Project getProject()
Get the current project.

Returns: the current ant project.

parseNextProperty

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 to parse pos ParsePosition

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