| 程序包 | 说明 |
|---|---|
| org.ttzero.excel.entity | |
| org.ttzero.excel.entity.csv | |
| org.ttzero.excel.entity.e7 | |
| org.ttzero.excel.reader |
| 限定符和类型 | 方法和说明 |
|---|---|
Cell[] |
Row.calloc(int n)
Malloc and clear
|
Cell[] |
Row.getCells() |
Cell[] |
Row.malloc(int n)
Malloc
|
Cell[] |
Row.realloc(int n)
Resize and clear
|
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
ICellValueAndStyle.conversion(int row,
Cell cell,
Object o,
Column hc)
Int value conversion to others
|
default void |
ICellValueAndStyle.downloadRemoteResource(int row,
Cell cell,
String e,
Column hc,
Class<?> clazz)
Download resource from remote server
NOTE:By default, only marking the cell type as
REMOTE_URL does not actually download resources. |
void |
ICellValueAndStyle.reset(int row,
Cell cell,
Object e,
Column hc)
已过时。
Replace with
ICellValueAndStyle.reset(Row, Cell, Object, Column) |
default void |
ICellValueAndStyle.reset(Row row,
Cell cell,
Object e,
Column hc)
Setting cell value and cell styles
|
default void |
ICellValueAndStyle.setCellValue(int row,
Cell cell,
Object e,
Column hc,
Class<?> clazz,
boolean hasProcessor)
Setting cell value
|
default void |
ICellValueAndStyle.setNullValue(int row,
Cell cell,
Column hc)
Setting cell value as null
|
default <T> void |
ICellValueAndStyle.setStyleDesign(T o,
Cell cell,
Column hc,
StyleProcessor<T> styleProcessor)
Setting all cell style of the specified row
|
default void |
ICellValueAndStyle.unknownType(int row,
Cell cell,
Object e,
Column hc,
Class<?> clazz)
unknown cell type converter
|
default void |
ICellValueAndStyle.writeAsMedia(int row,
Cell cell,
String e,
Column hc,
Class<?> clazz)
Convert string to binary
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CSVCellValueAndStyle.reset(int row,
Cell cell,
Object e,
Column hc)
已过时。
|
void |
CSVCellValueAndStyle.setCellValue(int row,
Cell cell,
Object e,
Column hc,
Class<?> clazz,
boolean hasProcessor)
Setting cell value
|
<T> void |
CSVCellValueAndStyle.setStyleDesign(T o,
Cell cell,
Column hc,
StyleProcessor<T> styleProcessor)
Setting all cell style of the specified row
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
XMLCellValueAndStyle.conversion(int row,
Cell cell,
Object o,
Column hc)
Int value conversion to others
|
void |
XMLCellValueAndStyle.reset(int row,
Cell cell,
Object e,
Column hc)
已过时。
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected Cell[] |
Row.cells |
static Cell |
Cell.UNALLOCATED_CELL
Unallocated cell
|
| 限定符和类型 | 方法和说明 |
|---|---|
Cell |
Cell.blank() |
Cell |
Cell.clear() |
Cell[] |
Row.copyCells()
Returns deep clone cells
|
Cell[] |
Row.copyCells(int newLength)
Returns deep clone cells
|
Cell |
Cell.emptyTag() |
Cell |
Cell.from(Cell cell) |
Cell |
Grid.Scanner.Entry.getCell() |
Cell |
Row.getCell(int i)
Returns
Cell |
Cell |
Row.getCell(String name)
Search
Cell by column name |
protected Cell |
XMLRow.nextCell()
Loop parse cell
|
Cell |
Cell.setAv(int a) |
Cell |
Cell.setBinary(byte[] bytes) |
Cell |
Cell.setBv(boolean bv) |
Cell |
Cell.setByteBuffer(ByteBuffer byteBuffer) |
Cell |
Cell.setCv(char c) |
Cell |
Cell.setDv(double dv) |
Cell |
Cell.setInputStream(InputStream stream) |
Cell |
Cell.setIv(double i) |
Cell |
Cell.setLv(long lv) |
Cell |
Cell.setMv(BigDecimal mv) |
Cell |
Cell.setNv(int nv) |
Cell |
Cell.setPath(Path path) |
Cell |
Cell.setSv(String sv) |
Cell |
Cell.setT(char t) |
Cell |
Cell.setTv(double t) |
| 限定符和类型 | 方法和说明 |
|---|---|
Cell |
Cell.from(Cell cell) |
protected int |
XMLRow.get(Cell cell,
char c,
org.ttzero.excel.reader.XMLRow.Attribute attrConsumer)
Parses the value and attributes of the specified tag
|
Boolean |
Row.getBoolean(Cell c)
Get
Boolean value |
Byte |
Row.getByte(Cell c)
Get
Byte value |
int |
Row.getCellStyle(Cell c)
Returns the cell styles
|
CellType |
Row.getCellType(Cell c)
Returns the type of cell
|
Character |
Row.getChar(Cell c)
Get
Character value |
Date |
Row.getDate(Cell c)
Get
Date value |
BigDecimal |
Row.getDecimal(Cell c)
Get
BigDecimal value |
Double |
Row.getDouble(Cell c)
Get
Double value |
Float |
Row.getFloat(Cell c)
Get
Float value by cell |
Integer |
Row.getInt(Cell c)
Get
Integer value |
LocalDate |
Row.getLocalDate(Cell c)
Get
LocalDate value |
LocalDateTime |
Row.getLocalDateTime(Cell c)
Get
LocalDateTime value |
LocalTime |
Row.getLocalTime(Cell c)
Get
LocalTime value |
Long |
Row.getLong(Cell c)
Get
Long value |
Short |
Row.getShort(Cell c)
Get
Short value |
String |
Row.getString(Cell c)
Get string value
|
Time |
Row.getTime(Cell c)
Get
Time value by column name |
Timestamp |
Row.getTimestamp(Cell c)
Get
Timestamp value |
boolean |
Row.isBlank(Cell c)
Tests the specify cell value is blank
|
int |
Grid.merge(int r,
Cell cell)
Merge cell in range cells
|
int |
Grid.FastGrid.merge(int r,
Cell cell) |
int |
Grid.IndexGrid.merge(int r,
Cell cell) |
int |
Grid.FractureGrid.merge(int r,
Cell cell) |
protected void |
XMLRow.parseCellValue(Cell cell)
Parse cell value
|
Row |
Row.setCells(Cell[] cells)
Setting custom
Cell |
Row |
Row.setCells(Cell[] cells,
int fromIndex,
int toIndex)
Setting custom
Cell |
Copyright © 2023. All rights reserved.