org.excel4j.object
Class XLInteger

java.lang.Object
  extended by org.excel4j.XLObject
      extended by org.excel4j.object.XLInteger

public class XLInteger
extends XLObject

An integer.


Field Summary
 
Fields inherited from class org.excel4j.XLObject
handle, xltype
 
Method Summary
 boolean asBoolean()
          Extract an integer from the object.
 int asInteger()
          Extract an integer from the object.
 double asNumber()
          Extract a number from the object.
 java.lang.String asString()
          Extract a string from the object.
 
Methods inherited from class org.excel4j.XLObject
asArray, asError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

asInteger

public int asInteger()
Description copied from class: XLObject
Extract an integer from the object.

Overrides:
asInteger in class XLObject
Returns:
int.

asBoolean

public boolean asBoolean()
Description copied from class: XLObject
Extract an integer from the object.

Overrides:
asBoolean in class XLObject
Returns:
boolean.

asNumber

public double asNumber()
Description copied from class: XLObject
Extract a number from the object.

Overrides:
asNumber in class XLObject
Returns:
double.

asString

public java.lang.String asString()
Description copied from class: XLObject
Extract a string from the object.

Overrides:
asString in class XLObject
Returns:
String.