|
||||||||||
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
org.apache.poi.hssf.record.StandardRecord
org.apache.poi.hssf.record.HeaderRecord
public final class HeaderRecord
Title: Header Record
Description: Specifies a header for a sheet
REFERENCE: PG 321 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)
Field Summary | |
---|---|
static short |
sid
|
Constructor Summary | |
---|---|
HeaderRecord(RecordInputStream in)
|
|
HeaderRecord(java.lang.String text)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
protected int |
getDataSize()
|
java.lang.String |
getHeader()
get the header string |
short |
getSid()
return the non static version of the id for this record. |
java.lang.String |
getText()
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record. |
void |
setHeader(java.lang.String header)
set the header string |
void |
setText(java.lang.String text)
set the footer string |
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging) |
Methods inherited from class org.apache.poi.hssf.record.StandardRecord |
---|
serialize |
Methods inherited from class org.apache.poi.hssf.record.Record |
---|
cloneViaReserialise, getRecordSize, 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 HeaderRecord(java.lang.String text)
public HeaderRecord(RecordInputStream in)
Method Detail |
---|
public void setHeader(java.lang.String header)
header
- string to displaypublic java.lang.String getHeader()
public java.lang.String toString()
Record
toString
in class Record
public short getSid()
Record
getSid
in class Record
public java.lang.Object clone()
clone
in class Record
public final void setText(java.lang.String text)
text
- string to displaypublic final java.lang.String getText()
public final void serialize(LittleEndianOutput out)
StandardRecord
Record.getDataSize()
serialize
in class StandardRecord
protected final int getDataSize()
getDataSize
in class Record
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |