|
||||||||||
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.LastCellOfRowDummyRecord
public class LastCellOfRowDummyRecord
A dummy record to indicate that we've now had the last cell record for this row.
Constructor Summary | |
---|---|
LastCellOfRowDummyRecord(int row,
int lastColumnNumber)
|
Method Summary | |
---|---|
protected void |
fillFields(RecordInputStream in)
called by the constructor, should set class level fields. |
int |
getLastColumnNumber()
Returns the (0 based) number of the last column seen for this row. |
int |
getRow()
Returns the (0 based) number of the row we are currently working on. |
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 LastCellOfRowDummyRecord(int row, int lastColumnNumber)
Method Detail |
---|
public int getRow()
public int getLastColumnNumber()
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 record
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |