jxl.read.biff
Class Record

java.lang.Object
  |
  +--jxl.read.biff.Record

public final class Record
extends java.lang.Object

A container for the raw record data within a biff file


Field Summary
private  int code
          The excel 97 code
private  byte[] data
          The raw data within this record
private  int dataPos
          A pointer to the beginning of the actual data
private  File file
          A handle to the excel 97 file
private  int length
          The length of this record
 
Constructor Summary
(package private) Record(byte[] d, int offset, File f)
          Constructor
 
Method Summary
 int getCode()
          The excel 97 code
 byte[] getData()
          Gets the data portion of the record
 int getLength()
          Gets the length of the record
 Type getType()
          Gets the biff type
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

code

private int code
The excel 97 code

length

private int length
The length of this record

dataPos

private int dataPos
A pointer to the beginning of the actual data

file

private File file
A handle to the excel 97 file

data

private byte[] data
The raw data within this record
Constructor Detail

Record

Record(byte[] d,
       int offset,
       File f)
Constructor
Parameters:
offset - the offset in the raw file
f - the excel 97 biff file
d - the data record
Method Detail

getType

public Type getType()
Gets the biff type
Returns:
the biff type

getLength

public int getLength()
Gets the length of the record
Returns:
the length of the record

getData

public byte[] getData()
Gets the data portion of the record
Returns:
the data portion of the record

getCode

public int getCode()
The excel 97 code
Returns:
the excel code