|
||||||||||
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.eventusermodel.dummyrecord.MissingRowDummyRecord
public class MissingRowDummyRecord
A dummy record for when we're missing a row, but still want to trigger something
Constructor Summary | |
---|---|
MissingRowDummyRecord(int rowNumber)
|
Method Summary | |
---|---|
protected void |
fillFields(RecordInputStream in)
called by the constructor, should set class level fields. |
int |
getRowNumber()
|
short |
getSid()
return the non static version of the id for this record. |
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 |
---|
clone, cloneViaReserialise, getRecordSize, isInValueSection, isValue, serialize, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MissingRowDummyRecord(int rowNumber)
Method Detail |
---|
protected void fillFields(RecordInputStream in)
Record
fillFields
in class Record
in
- the RecordInputstream to read the record frompublic short getSid()
Record
getSid
in class Record
public int serialize(int offset, byte[] data)
Record
serialize
in class Record
offset
- to begin writing atdata
- byte array containing instance data
protected void validateSid(short id)
Record
validateSid
in class Record
id
- alleged id for this recordpublic int getRowNumber()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |