|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.Record
public abstract class Record
Title: Record Description: All HSSF Records inherit from this class. It populates the fields common to all records (id, size and data). Subclasses should be sure to validate the id, Company:
Constructor Summary | |
---|---|
protected |
Record()
instantiates a blank record strictly for ID matching |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
Record |
cloneViaReserialise()
Clone the current record, via a call to serialise it, and another to create a new record from the bytes. |
protected abstract int |
getDataSize()
|
int |
getRecordSize()
gives the current serialized size of the record. |
abstract short |
getSid()
return the non static version of the id for this record. |
byte[] |
serialize()
called by the class that is responsible for writing this sucker. |
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging) |
Methods inherited from class org.apache.poi.hssf.record.RecordBase |
---|
serialize |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected Record()
Method Detail |
---|
public final byte[] serialize()
public final int getRecordSize()
RecordBase
getRecordSize
in class RecordBase
protected abstract int getDataSize()
public java.lang.String toString()
toString
in class java.lang.Object
public abstract short getSid()
public java.lang.Object clone()
clone
in class java.lang.Object
public Record cloneViaReserialise()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |