|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hssf.record.RecordBase org.apache.poi.hssf.record.aggregates.RecordAggregate
public abstract class RecordAggregate
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.
Nested Class Summary | |
---|---|
static class |
RecordAggregate.PositionTrackingVisitor
A wrapper for RecordAggregate.RecordVisitor which accumulates the sizes of all
records visited. |
static interface |
RecordAggregate.RecordVisitor
|
Constructor Summary | |
---|---|
RecordAggregate()
|
Method Summary | |
---|---|
int |
getRecordSize()
gives the current serialized size of the record. |
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker. |
abstract void |
visitContainedRecords(RecordAggregate.RecordVisitor rv)
Visit each of the atomic BIFF records contained in this RecordAggregate in the order
that they should be written to file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecordAggregate()
Method Detail |
---|
public abstract void visitContainedRecords(RecordAggregate.RecordVisitor rv)
RecordAggregate
in the order
that they should be written to file. Implementors may or may not return the actual
Record
s being used to manage POI's internal implementation. Callers should not
assume either way, and therefore only attempt to modify those Record
s after cloning
public final int serialize(int offset, byte[] data)
RecordBase
serialize
in class RecordBase
offset
- to begin writing atdata
- byte array containing instance data
public int getRecordSize()
RecordBase
getRecordSize
in class RecordBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |