jxl.write.biff
Class NameRecord

java.lang.Object
  |
  +--jxl.biff.RecordData
        |
        +--jxl.biff.WritableRecordData
              |
              +--jxl.write.biff.NameRecord
All Implemented Interfaces:
ByteData

class NameRecord
extends WritableRecordData

A name record. Simply takes the binary data from the name record read in


Field Summary
private  byte[] data
          The binary data for output to file
private  int index
          The index into the name table
private  java.lang.String name
          The name
 
Fields inherited from class jxl.biff.WritableRecordData
maxRecordLength
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
NameRecord(NameRecord sr, int ind)
          Constructor - used when copying sheets
 
Method Summary
 byte[] getData()
          Gets the binary data for output to file
 int getIndex()
          Accessor for the index of this name in the name table
 java.lang.String getName()
          Accessor for the name
 
Methods inherited from class jxl.biff.WritableRecordData
getBytes, handleContinueRecords
 
Methods inherited from class jxl.biff.RecordData
getCode, getRecord
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

data

private byte[] data
The binary data for output to file

name

private java.lang.String name
The name

index

private int index
The index into the name table
Constructor Detail

NameRecord

public NameRecord(NameRecord sr,
                  int ind)
Constructor - used when copying sheets
Parameters:
index - the index into the name table
Method Detail

getData

public byte[] getData()
Gets the binary data for output to file
Overrides:
getData in class WritableRecordData
Returns:
the binary data

getName

public java.lang.String getName()
Accessor for the name
Returns:
the name

getIndex

public int getIndex()
Accessor for the index of this name in the name table
Returns:
the index of this name in the name table