public final class NumberRecord extends CellRecord
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
NumberRecord()
Creates new NumberRecord
|
NumberRecord(NumberRecord other) |
NumberRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
NumberRecord |
copy() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
protected java.lang.String |
getRecordName()
Gets the debug info BIFF record type name (used by
Record.toString() . |
short |
getSid()
return the non static version of the id for this record.
|
double |
getValue()
get the value for the cell
|
protected int |
getValueDataSize() |
protected void |
serializeValue(LittleEndianOutput out)
writes out the value data for this cell record
|
void |
setValue(double value)
set the value for the cell
|
getColumn, getDataSize, getRow, getXFIndex, serialize, setColumn, setRow, setXFIndex
getRecordSize, serialize
cloneViaReserialise, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public static final short sid
public NumberRecord()
public NumberRecord(NumberRecord other)
public NumberRecord(RecordInputStream in)
in
- the RecordInputstream to read the record frompublic void setValue(double value)
value
- double representing the valuepublic double getValue()
protected java.lang.String getRecordName()
CellRecord
Record.toString()
.getRecordName
in class CellRecord
protected void serializeValue(LittleEndianOutput out)
CellRecord
serializeValue
in class CellRecord
out
- the outputprotected int getValueDataSize()
getValueDataSize
in class CellRecord
public short getSid()
Record
public NumberRecord copy()
copy
in interface Duplicatable
copy
in class CellRecord
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in class Record
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
getGenericProperties
in class CellRecord
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.