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.
(返回此记录的 id 的非静态版本。)
|
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?
(这是未压缩的 unicode(16 位)吗?还是只是 8 位压缩?)
|
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 from
(in - 要从中读取记录的 RecordInputstream)
public int getRow()
getRow
in interface
CellValueRecordInterface
(接口 CellValueRecordInterface 中的 getRow)
public short getColumn()
getColumn
in interface
CellValueRecordInterface
(接口 CellValueRecordInterface 中的 getColumn)
public short getXFIndex()
getXFIndex
in interface
CellValueRecordInterface
(接口 CellValueRecordInterface 中的 getXFIndex)
public short getStringLength()
public boolean isUnCompressedUnicode()
public java.lang.String getValue()
getStringLength()
public int serialize(int offset, byte[] data)
serialize
in class
RecordBase
(在类 RecordBase 中序列化)
offset
- to begin writing at
(偏移量 - 开始写入)
data
- byte array containing instance data
(data - 包含实例数据的字节数组)
public int getRecordSize()
RecordBase
getRecordSize
in class
RecordBase
(类 RecordBase 中的 getRecordSize)
public short getSid()
Record
public void setColumn(short col)
setColumn
in interface
CellValueRecordInterface
(接口 CellValueRecordInterface 中的 setColumn)
col
- the column this cell defines
(col - 此单元格定义的列)
public void setRow(int row)
setRow
in interface
CellValueRecordInterface
(接口 CellValueRecordInterface 中的 setRow)
row
- the row this cell occurs within
(row - 此单元格所在的行)
public void setXFIndex(short xf)
setXFIndex
in interface
CellValueRecordInterface
(接口 CellValueRecordInterface 中的 setXFIndex)
public LabelRecord copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
Record
(复制课堂记录)
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericRecordType)
getGenericRecordType
in class
Record
(类 Record 中的 getGenericRecordType)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.