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:
java.lang.Cloneable
public final class EndSubRecord extends SubRecord implements java.lang.Cloneable
ftEnd (0x0000)The end data record is used to denote the end of the subrecords.
-
-
Field Summary
Fields Modifier and Type Field Description static short
sid
-
Constructor Summary
Constructors Constructor Description EndSubRecord()
EndSubRecord(LittleEndianInput in, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndSubRecord
clone()
short
getSid()
boolean
isTerminating()
Whether this record terminates the sub-record stream.void
serialize(LittleEndianOutput out)
java.lang.String
toString()
-
Methods inherited from class org.apache.poi.hssf.record.SubRecord
createSubRecord, serialize
-
-
-
-
Field Detail
-
sid
public static final short sid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EndSubRecord
public EndSubRecord()
-
EndSubRecord
public EndSubRecord(LittleEndianInput in, int size)
- Parameters:
in
- unused (since this record has no data)size
- must be 0
-
-
Method Detail
-
isTerminating
public boolean isTerminating()
Description copied from class:SubRecord
Whether 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:
isTerminating
in classSubRecord
- Returns:
- whether this record is the last in the sub-record stream
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
serialize
public void serialize(LittleEndianOutput out)
-
getSid
public short getSid()
-
clone
public EndSubRecord clone()
-
-