org.apache.poi.hpsf
Class ClassID
java.lang.Object
|
+--org.apache.poi.hpsf.ClassID
- public class ClassID
- extends java.lang.Object
REWRITE ME
Represents a class ID (16 bytes). Unlike other little-endian type the ClassID
is not just 16 bytes stored in the wrong order. Instead, it is a
double word (4 bytes) followed by two words (2 bytes each) followed by 8
bytes.
- Since:
- 2002-02-09
- Version:
- $Id: ClassID.java,v 1.2 2002/05/19 18:09:26 acoliver Exp $
- Author:
- Rainer Klute (klute@rainer-klute.de)
- See Also:
LittleEndian
Field Summary |
static int |
LENGTH
|
Constructor Summary |
ClassID(byte[] src,
int offset)
Creates a ClassID and reads its value from a byte array. |
Method Summary |
byte[] |
getBytes()
|
int |
length()
|
byte[] |
read(byte[] src,
int offset)
Description of the Method - REWRITE ME REWRITE ME REWRITE ME
ISNT += offset a bug? -- doesn't the order of operations evaluate that
last? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LENGTH
public static final int LENGTH
ClassID
public ClassID(byte[] src,
int offset)
Creates a ClassID
and reads its value from a byte array.
- Parameters:
src
- The byte array to read from.offset
- The offset of the first byte to read.
length
public int length()
getBytes
public byte[] getBytes()
read
public byte[] read(byte[] src,
int offset)
- Description of the Method - REWRITE ME REWRITE ME REWRITE ME
ISNT += offset a bug? -- doesn't the order of operations evaluate that
last?
- Parameters:
src
- Description of the Parameteroffset
- Description of the Parameter- Returns:
- Description of the Return Value
Copyright © 2002 Apache jakarta-poi project. All Rights Reserved.