jxl.write.biff
Class SupbookRecord
java.lang.Object
|
+--jxl.biff.RecordData
|
+--jxl.biff.WritableRecordData
|
+--jxl.write.biff.SupbookRecord
- All Implemented Interfaces:
- ByteData
- class SupbookRecord
- extends WritableRecordData
Stores the supporting workbook information. For files written by
JExcelApi this will only reference internal sheets
Field Summary |
private byte[] |
data
The data to be written to the binary file |
private java.lang.String |
fileName
The name of the external file |
private int |
numSheets
The number of sheets - internal & external supbooks only |
private java.lang.String[] |
sheetNames
The names of the external sheets |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
data
private byte[] data
- The data to be written to the binary file
numSheets
private int numSheets
- The number of sheets - internal & external supbooks only
fileName
private java.lang.String fileName
- The name of the external file
sheetNames
private java.lang.String[] sheetNames
- The names of the external sheets
SupbookRecord
public SupbookRecord(int sheets)
- Constructor for internal sheets
SupbookRecord
public SupbookRecord(SupbookRecord sr)
- Constructor used when copying from an external workbook
initInternal
private void initInternal(SupbookRecord sr)
- Initializes an internal supbook record
- Parameters:
sr
- the read supbook record to copy from
initExternal
private void initExternal(SupbookRecord sr)
- Initializes an external supbook record
- Parameters:
sr
- the read supbook record to copy from
getData
public byte[] getData()
- The binary data to be written out
- Overrides:
getData
in class WritableRecordData
- Returns:
- the binary data