public class Cell extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
byte[] |
binary
Binary file (picture only)
|
static char |
BINARY |
static char |
BLANK |
static char |
BOOL |
boolean |
boolVal
Boolean value
|
static char |
BYTE_BUFFER |
ByteBuffer |
byteBuffer
Binary file (picture only)
|
static char |
CHARACTER |
char |
charVal
Char value
|
static char |
DATE |
static char |
DATETIME |
BigDecimal |
decimal
Decimal value
|
static char |
DECIMAL |
static char |
DOUBLE |
double |
doubleVal
Double value contain float
|
static char |
EMPTY_TAG |
boolean |
f
Has formula
|
static char |
FILE |
String |
formula
Formula string
|
static char |
FUNCTION |
boolean |
h
是否为超链接
|
short |
i
x-axis of cell in row
|
static char |
INLINESTR |
static char |
INPUT_STREAM |
int |
intVal
Integer value contain short
|
InputStream |
isv
InputStream value (picture stream), auto-close after writen
|
static char |
LONG |
long |
longVal
Long value
|
char |
mediaType
图片源类型
|
static char |
NUMERIC |
Path |
path
File path (picture file)
|
static char |
REMOTE_URL |
int |
si
Shared calc id
|
static char |
SST |
String |
stringVal
String value
|
char |
t
Value type
n=numeric
s=string
b=boolean
f=function string
r=inlineStr
l=long
d=double
|
static char |
TIME |
static char |
UNALLOCATED |
static Cell |
UNALLOCATED_CELL
Unallocated cell
|
int |
xf
Style index
|
| 限定符和类型 | 方法和说明 |
|---|---|
Cell |
blank() |
Cell |
clear() |
Cell |
emptyTag() |
Cell |
from(Cell cell) |
Cell |
setBinary(byte[] bytes) |
Cell |
setBool(boolean bv) |
Cell |
setByteBuffer(ByteBuffer byteBuffer) |
Cell |
setChar(char c) |
Cell |
setDate(int a) |
Cell |
setDateTime(double i) |
Cell |
setDecimal(BigDecimal mv) |
Cell |
setDouble(double dv) |
Cell |
setFormula(String formula) |
Cell |
setHyperlink(String hyperlink) |
Cell |
setInputStream(InputStream stream) |
Cell |
setInt(int nv) |
Cell |
setLong(long lv) |
Cell |
setPath(Path path) |
Cell |
setString(String sv) |
Cell |
setT(char t) |
Cell |
setTime(double t) |
public static final char SST
public static final char BOOL
public static final char FUNCTION
public static final char INLINESTR
public static final char LONG
public static final char DOUBLE
public static final char NUMERIC
public static final char BLANK
public static final char CHARACTER
public static final char DECIMAL
public static final char DATETIME
public static final char DATE
public static final char TIME
public static final char UNALLOCATED
public static final char EMPTY_TAG
public static final char BINARY
public static final char FILE
public static final char INPUT_STREAM
public static final char REMOTE_URL
public static final char BYTE_BUFFER
public static final Cell UNALLOCATED_CELL
public char t
public String stringVal
public int intVal
public long longVal
public double doubleVal
public boolean boolVal
public char charVal
public BigDecimal decimal
public int xf
public String formula
public int si
public boolean f
public byte[] binary
public ByteBuffer byteBuffer
public Path path
public InputStream isv
public boolean h
public char mediaType
public transient short i
public Cell setT(char t)
public Cell setInt(int nv)
public Cell setDouble(double dv)
public Cell setBool(boolean bv)
public Cell setChar(char c)
public Cell blank()
public Cell emptyTag()
public Cell setLong(long lv)
public Cell setDecimal(BigDecimal mv)
public Cell setDateTime(double i)
public Cell setDate(int a)
public Cell setTime(double t)
public Cell setBinary(byte[] bytes)
public Cell setInputStream(InputStream stream)
public Cell setByteBuffer(ByteBuffer byteBuffer)
public Cell clear()
Copyright © 2024. All rights reserved.