RecordAggregates are groups of of BIFF Records that are typically stored
together and/or updated together. Workbook / Sheet records are typically stored in a sequential
list, which does not provide much structure to coordinate updates.
| Modifier and Type | Class and Description |
|---|---|
| public static class | RecordAggregate.
A wrapper for |
| private static class | |
| public static interface | |
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | getRecordSize()
Implements abstract org. gives the current serialized size of the record. |
| public final int | serialize(int
to begin writing at offset, byte[] byte array containing instance data data)Implements abstract org. called by the class that is responsible for writing this sucker. |
| public abstract void | visitContainedRecords(RecordAggregate.
The visitor to use for callbacks while walking this object rvVisit each of the atomic BIFF records contained in this RecordAggregate in the order that they should be written to file. |
| RecordAggregate | back to summary |
|---|---|
| public RecordAggregate() | |
| getRecordSize | back to summary |
|---|---|
| public int getRecordSize() Implements abstract org. Doc from org. gives the current serialized size of the record. Should include the sid and reclength (4 bytes).
| |
| serialize | back to summary |
|---|---|
| public final int serialize(int offset, byte[] data) Implements abstract org. Doc from org. called by the class that is responsible for writing this sucker. Subclasses should implement this so that their data is passed back in a byte array.
| |
| visitContainedRecords | back to summary |
|---|---|
| public abstract void visitContainedRecords(RecordAggregate. Visit each of the atomic BIFF records contained in this RecordAggregate in the order
that they should be written to file. Implementors may or may not return the actual
| |
RecordVisitor which accumulates the sizes of all
records visited.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final RecordAggregate. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public void | |
| public void | visitRecord(Record
must not be r)nullImplements org. Implementors may call non-mutating methods on Record r. |
| _position | back to summary |
|---|---|
| private int _position | |
| _rv | back to summary |
|---|---|
| private final RecordAggregate. | |
| PositionTrackingVisitor | back to summary |
|---|---|
| public PositionTrackingVisitor(RecordAggregate. | |
| getPosition | back to summary |
|---|---|
| public int getPosition() | |
| setPosition | back to summary |
|---|---|
| public void setPosition(int position) | |
| visitRecord | back to summary |
|---|---|
| public void visitRecord(Record r) Implements org. Doc from org. Implementors may call non-mutating methods on Record r. | |
| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public void | visitRecord(Record
must not be r)nullImplements org. Implementors may call non-mutating methods on Record r. |
| _totalSize | back to summary |
|---|---|
| private int _totalSize | |
| RecordSizingVisitor | back to summary |
|---|---|
| public RecordSizingVisitor() | |
| getTotalSize | back to summary |
|---|---|
| public int getTotalSize() | |
| visitRecord | back to summary |
|---|---|
| public void visitRecord(Record r) Implements org. Doc from org. Implementors may call non-mutating methods on Record r. | |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| visitRecord | back to summary |
|---|---|
| public void visitRecord(Record r) Implementors may call non-mutating methods on Record r.
| |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final byte[] | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public void | visitRecord(Record
must not be r)nullImplements org. Implementors may call non-mutating methods on Record r. |
| _countBytesWritten | back to summary |
|---|---|
| private int _countBytesWritten | |
| _data | back to summary |
|---|---|
| private final byte[] _data | |
| _startOffset | back to summary |
|---|---|
| private final int _startOffset | |
| SerializingRecordVisitor | back to summary |
|---|---|
| public SerializingRecordVisitor(byte[] data, int startOffset) | |
| countBytesWritten | back to summary |
|---|---|
| public int countBytesWritten() | |
| visitRecord | back to summary |
|---|---|
| public void visitRecord(Record r) Implements org. Doc from org. Implementors may call non-mutating methods on Record r. | |