|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.poi.hpsf.littleendian.LittleEndian | +--org.apache.poi.hpsf.littleendian.DWord
Represents a double word (4 bytes).
Field Summary | |
static int |
LENGTH
|
Fields inherited from class org.apache.poi.hpsf.littleendian.LittleEndian |
bytes |
Constructor Summary | |
DWord(byte[] src,
int offset)
Creates a DWord and reads its value from a byte
array. |
Method Summary | |
int |
intValue()
Return the integral value of this DWord . |
int |
length()
Returns the number of bytes of this little-endian field. |
Methods inherited from class org.apache.poi.hpsf.littleendian.LittleEndian |
getBytes, read |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int LENGTH
Constructor Detail |
public DWord(byte[] src, int offset)
Creates a DWord
and reads its value from a byte
array.
src
- The byte array to read from.offset
- The offset of the first byte to read.Method Detail |
public int length()
LittleEndian
Returns the number of bytes of this little-endian field.
length
in class LittleEndian
public int intValue()
Return the integral value of this DWord
.
FIXME: Introduce a superclass for the numeric types and make this a method of the superclass!
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |