jxl.write.biff
Class BOFRecord

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

class BOFRecord
extends WritableRecordData

Record to indicate the beginning of a new stream in the Compound File


Inner Class Summary
private static class BOFRecord.SheetBOF
           
private static class BOFRecord.WorkbookGlobalsBOF
           
 
Field Summary
private  byte[] data
          The data to write to the file
static BOFRecord.SheetBOF sheet
           
static BOFRecord.WorkbookGlobalsBOF workbookGlobals
           
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
BOFRecord(BOFRecord.SheetBOF dummy)
          Constructor for generating a sheet BOF record
BOFRecord(BOFRecord.WorkbookGlobalsBOF dummy)
          Constructor for generating a workbook globals BOF record
 
Method Summary
 byte[] getData()
          Gets the data for writing to the output file
 
Methods inherited from class jxl.biff.WritableRecordData
getBytes
 
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 data to write to the file

workbookGlobals

public static final BOFRecord.WorkbookGlobalsBOF workbookGlobals

sheet

public static final BOFRecord.SheetBOF sheet
Constructor Detail

BOFRecord

public BOFRecord(BOFRecord.WorkbookGlobalsBOF dummy)
Constructor for generating a workbook globals BOF record
Parameters:
dummy - - a dummy argument for overloading purposes

BOFRecord

public BOFRecord(BOFRecord.SheetBOF dummy)
Constructor for generating a sheet BOF record
Parameters:
dummy - - a dummy argument for overloading purposes
Method Detail

getData

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