Package org.apache.poi.hssf.record
Class HeaderRecord
- java.lang.Object
-
- org.apache.poi.hssf.record.RecordBase
-
- org.apache.poi.hssf.record.Record
-
- org.apache.poi.hssf.record.StandardRecord
-
- org.apache.poi.hssf.record.HeaderFooterBase
-
- org.apache.poi.hssf.record.HeaderRecord
-
- All Implemented Interfaces:
Duplicatable
,GenericRecord
public final class HeaderRecord extends HeaderFooterBase
Specifies a header for a sheet
-
-
Field Summary
Fields Modifier and Type Field Description static short
sid
-
Constructor Summary
Constructors Constructor Description HeaderRecord(String text)
HeaderRecord(HeaderRecord other)
HeaderRecord(RecordInputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeaderRecord
copy()
HSSFRecordTypes
getGenericRecordType()
short
getSid()
return the non static version of the id for this record.-
Methods inherited from class org.apache.poi.hssf.record.HeaderFooterBase
getDataSize, getGenericProperties, getText, serialize, setText
-
Methods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serialize
-
Methods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, serialize, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
-
-
-
Field Detail
-
sid
public static final short sid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HeaderRecord
public HeaderRecord(String text)
-
HeaderRecord
public HeaderRecord(HeaderRecord other)
-
HeaderRecord
public HeaderRecord(RecordInputStream in)
-
-
Method Detail
-
getSid
public short getSid()
Description copied from class:Record
return the non static version of the id for this record.
-
copy
public HeaderRecord copy()
- Specified by:
copy
in interfaceDuplicatable
- Specified by:
copy
in classHeaderFooterBase
- Returns:
- a deep copy of the implementing class / instance
-
getGenericRecordType
public HSSFRecordTypes getGenericRecordType()
- Specified by:
getGenericRecordType
in interfaceGenericRecord
- Specified by:
getGenericRecordType
in classRecord
-
-