|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hssf.record.Record org.apache.poi.hssf.record.SubRecord org.apache.poi.hssf.record.NoteStructureSubRecord
public class NoteStructureSubRecord
Represents a NoteStructure (0xD) sub record.
The docs say nothing about it. The length of this record is always 26 bytes.
Field Summary | |
---|---|
static short |
sid
|
Constructor Summary | |
---|---|
NoteStructureSubRecord()
Construct a new NoteStructureSubRecord and
fill its data with the default values |
|
NoteStructureSubRecord(RecordInputStream in)
Constructs a NoteStructureSubRecord and sets its fields appropriately. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
protected void |
fillFields(RecordInputStream in)
Read the record data from the supplied RecordInputStream |
int |
getRecordSize()
Size of record |
short |
getSid()
return the non static version of the id for this record. |
int |
serialize(int offset,
byte[] data)
Serialize the record data into the supplied array of bytes |
java.lang.String |
toString()
Convert this record to string. |
protected void |
validateSid(short id)
Checks the sid matches the expected side for this record |
Methods inherited from class org.apache.poi.hssf.record.SubRecord |
---|
createSubRecord |
Methods inherited from class org.apache.poi.hssf.record.Record |
---|
cloneViaReserialise, isInValueSection, isValue, serialize |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short sid
Constructor Detail |
---|
public NoteStructureSubRecord()
NoteStructureSubRecord
and
fill its data with the default values
public NoteStructureSubRecord(RecordInputStream in)
Method Detail |
---|
protected void validateSid(short id)
validateSid
in class Record
id
- the expected sid.protected void fillFields(RecordInputStream in)
RecordInputStream
fillFields
in class Record
in
- the RecordInputstream to read the record frompublic java.lang.String toString()
toString
in class Record
public int serialize(int offset, byte[] data)
serialize
in class Record
offset
- offset in the data
data
- the data to serialize into
public int getRecordSize()
getRecordSize
in class Record
public short getSid()
Record
getSid
in class Record
public java.lang.Object clone()
clone
in class Record
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |