org.apache.tools.ant.types

Class 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.
See Also:
java.lang.Integer.decode(String)

Constructor Summary

FlexInteger(String value)
Constructor used by Ant's introspection mechanism for attribute population

Method Summary

int
intValue()
Returns the decimal integer value
String
toString()
Overridden method to return the decimal value for display

Constructor Details

FlexInteger

public FlexInteger(String value)
Constructor used by Ant's introspection mechanism for attribute population

Method Details

intValue

public int intValue()
Returns the decimal integer value

toString

public String toString()
Overridden method to return the decimal value for display

Copyright B) 2000-2008 Apache Software Foundation. All Rights Reserved.