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 |
clone()
Deprecated.
|
LabelRecord |
copy() |
short |
getColumn() |
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!
|
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging)
|
cloneViaReserialise, serialize
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 java.lang.String toString()
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
@Deprecated @Removal(version="5.0.0") public LabelRecord clone()
clone
in class java.lang.Object
public LabelRecord copy()
copy
in interface Duplicatable
copy
in class Record
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.