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 shortsid
-
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 HeaderRecordcopy()HSSFRecordTypesgetGenericRecordType()shortgetSid()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:Recordreturn the non static version of the id for this record.
-
copy
public HeaderRecord copy()
- Specified by:
copyin interfaceDuplicatable- Specified by:
copyin classHeaderFooterBase- Returns:
- a deep copy of the implementing class / instance
-
getGenericRecordType
public HSSFRecordTypes getGenericRecordType()
- Specified by:
getGenericRecordTypein interfaceGenericRecord- Specified by:
getGenericRecordTypein classRecord
-
-