FileDocCategorySizeDatePackage
FlexInteger.javaAPI DocApache Ant 1.701721Wed Dec 13 06:16:24 GMT 2006org.apache.tools.ant.types

FlexInteger

public class FlexInteger extends 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.
see
java.lang.Integer#decode(String)

Fields Summary
private Integer
value
Constructors Summary
public FlexInteger(String value)
Constructor used by Ant's introspection mechanism for attribute population

param
value the value to decode

        this.value = Integer.decode(value);
    
Methods Summary
public intintValue()
Returns the decimal integer value

return
the integer value

        return value.intValue();
    
public java.lang.StringtoString()
Overridden method to return the decimal value for display

return
a string version of the integer

        return value.toString();