|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.excel4j.XLObject
public abstract class XLObject
Encapsulates an xloper passed from excel.
Field Summary | |
---|---|
long |
handle
|
int |
xltype
|
Constructor Summary | |
---|---|
XLObject(long handle,
int xltype)
Creates a new XLObject object. |
Method Summary | |
---|---|
XLArray |
asArray()
Extract an array from the object. |
boolean |
asBoolean()
Extract an integer from the object. |
int |
asError()
Extract the error code 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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final long handle
public final int xltype
Constructor Detail |
---|
public XLObject(long handle, int xltype)
handle.
- xltype.
- Method Detail |
---|
public double asNumber()
public int asInteger()
public boolean asBoolean()
public java.lang.String asString()
public XLArray asArray()
public int asError()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |