Package org.apache.poi.hssf.record
Class EndSubRecord
java.lang.Object
org.apache.poi.hssf.record.SubRecord
org.apache.poi.hssf.record.EndSubRecord
- All Implemented Interfaces:
Duplicatable,GenericRecord
ftEnd (0x0000)
The end data record is used to denote the end of the subrecords.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.poi.hssf.record.SubRecord
SubRecord.SubRecordTypes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.poi.hssf.record.SubRecord
createSubRecord, getMaxRecordLength, serialize, setMaxRecordLength, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
Field Details
-
sid
public static final short sid- See Also:
-
-
Constructor Details
-
EndSubRecord
public EndSubRecord() -
EndSubRecord
- Parameters:
in- unused (since this record has no data)size- must be 0
-
-
Method Details
-
isTerminating
public boolean isTerminating()Description copied from class:SubRecordWhether this record terminates the sub-record stream. There are two cases when this method must be overridden and returntrue- EndSubRecord (sid = 0x00) - LbsDataSubRecord (sid = 0x12)- Overrides:
isTerminatingin classSubRecord- Returns:
- whether this record is the last in the sub-record stream
-
serialize
-
getDataSize
protected int getDataSize()- Specified by:
getDataSizein classSubRecord- Returns:
- the size of the data for this record (which is always 4 bytes less than the total record size). Note however, that ushort encoded after the record sid is usually but not always the data size.
-
getSid
public short getSid() -
copy
- Specified by:
copyin interfaceDuplicatable- Specified by:
copyin classSubRecord- Returns:
- a deep copy of the implementing class / instance
-
getGenericRecordType
- Specified by:
getGenericRecordTypein interfaceGenericRecord- Specified by:
getGenericRecordTypein classSubRecord
-
getGenericProperties
-