|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.aggregates.RowRecordsAggregate
| Field Summary |
| Fields inherited from class org.apache.poi.hssf.record.Record |
sid |
| Constructor Summary | |
RowRecordsAggregate()
Creates a new instance of ValueRecordsAggregate |
|
| Method Summary | |
java.lang.Object |
clone()
Performs a deep clone of the record |
int |
construct(int offset,
java.util.List records)
|
protected void |
fillFields(byte[] data,
short size,
int offset)
called by the constructor, should set class level fields. |
int |
getFirstRowNum()
|
java.util.Iterator |
getIterator()
|
int |
getLastRowNum()
|
int |
getPhysicalNumberOfRows()
|
int |
getRecordSize()
gives the current serialized size of the record. |
RowRecord |
getRow(int rownum)
|
short |
getSid()
return the non static version of the id for this record. |
void |
insertRow(RowRecord row)
|
void |
removeRow(RowRecord row)
|
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker. |
protected void |
validateSid(short id)
called by constructor, should throw runtime exception in the event of a record passed with a differing ID. |
| Methods inherited from class org.apache.poi.hssf.record.Record |
fillFields, isInValueSection, isValue, processContinueRecord, serialize, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RowRecordsAggregate()
| Method Detail |
public void insertRow(RowRecord row)
public void removeRow(RowRecord row)
public RowRecord getRow(int rownum)
public int getPhysicalNumberOfRows()
public int getFirstRowNum()
public int getLastRowNum()
public int construct(int offset,
java.util.List records)
public int serialize(int offset,
byte[] data)
serialize in class Recordoffset - offset to begin writing atdata - byte array containing instance data
protected void fillFields(byte[] data,
short size,
int offset)
fillFields in class Recorddata - raw datasize - size of dataoffset - of the record's data (provided a big array of the file)protected void validateSid(short id)
validateSid in class Recordid - alleged id for this recordpublic short getSid()
getSid in class Recordpublic int getRecordSize()
Record
getRecordSize in class Recordpublic java.util.Iterator getIterator()
public java.lang.Object clone()
clone in class Record
|
jakarta-poi 1.10.0-dev | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||