Top Description Fields Constructors Methods
org.apache.tools.ant.types

public Class FlexInteger

extends Object
Class Inheritance

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)

Field Summary

Modifier and TypeField and Description
private Integer

Constructor Summary

AccessConstructor and Description
public
FlexInteger(String
the value to decode
value
)

Constructor used by Ant's introspection mechanism for attribute population

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the integer value
intValue
()

Returns the decimal integer value

public String

Returns:

a string version of the integer
toString
()

Overrides java.lang.Object.toString.

Overridden method to return the decimal value for display
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

valueback to summary
private Integer value

Constructor Detail

FlexIntegerback to summary
public FlexInteger(String value)

Constructor used by Ant's introspection mechanism for attribute population

Parameters
value:String

the value to decode

Method Detail

intValueback to summary
public int intValue()

Returns the decimal integer value

Returns:int

the integer value

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Overridden method to return the decimal value for display

Returns:String

a string version of the integer

Annotations
@Override