org.apache.tools.ant.types
Class FlexInteger
java.lang.Object
org.apache.tools.ant.types.FlexInteger
public class FlexInteger
extends java.lang.Object
Helper class which can be used for Ant task attribute setter methods to allow
the build file to specify an integer in either decimal, octal, or hexadecimal
format.
java.lang.Integer.decode(String)
FlexInteger(String value) - Constructor used by Ant's introspection mechanism for attribute population
|
int | intValue() - Returns the decimal integer value
|
String | toString() - Overridden method to return the decimal value for display
|
FlexInteger
public FlexInteger(String value)
Constructor used by Ant's introspection mechanism for attribute population
value
- the value to decode
intValue
public int intValue()
Returns the decimal integer value
toString
public String toString()
Overridden method to return the decimal value for display
- a string version of the integer