public final class LabelRecord extends Record implements CellValueRecordInterface
LabelSSTRecord
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
LabelRecord()
Creates new LabelRecord
|
LabelRecord(LabelRecord other) |
LabelRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
LabelRecord |
copy() |
short |
getColumn() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
int |
getRecordSize()
gives the current serialized size of the record.
|
int |
getRow() |
short |
getSid()
return the non static version of the id for this record.
|
short |
getStringLength()
get the number of characters this string contains
|
java.lang.String |
getValue()
get the value
|
short |
getXFIndex() |
boolean |
isUnCompressedUnicode()
is this uncompressed unicode (16bit)? Or just 8-bit compressed?
|
int |
serialize(int offset,
byte[] data)
THROWS A RUNTIME EXCEPTION..
|
void |
setColumn(short col)
NO-OP!
|
void |
setRow(int row)
NO-OP!
|
void |
setXFIndex(short xf)
no op!
|
cloneViaReserialise, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public static final short sid
public LabelRecord()
public LabelRecord(LabelRecord other)
public LabelRecord(RecordInputStream in)
in
- the RecordInputstream to read the record frompublic int getRow()
getRow
in interface CellValueRecordInterface
public short getColumn()
getColumn
in interface CellValueRecordInterface
public short getXFIndex()
getXFIndex
in interface CellValueRecordInterface
public short getStringLength()
public boolean isUnCompressedUnicode()
public java.lang.String getValue()
getStringLength()
public int serialize(int offset, byte[] data)
serialize
in class RecordBase
offset
- to begin writing atdata
- byte array containing instance datapublic int getRecordSize()
RecordBase
getRecordSize
in class RecordBase
public short getSid()
Record
public void setColumn(short col)
setColumn
in interface CellValueRecordInterface
col
- the column this cell definespublic void setRow(int row)
setRow
in interface CellValueRecordInterface
row
- the row this cell occurs withinpublic void setXFIndex(short xf)
setXFIndex
in interface CellValueRecordInterface
public LabelRecord copy()
copy
in interface Duplicatable
copy
in class Record
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
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.