| Package | Description |
|---|---|
| cn.chenhuanming.octopus | |
| cn.chenhuanming.octopus.config | |
| cn.chenhuanming.octopus.config.annotation | |
| cn.chenhuanming.octopus.reader | |
| cn.chenhuanming.octopus.writer |
| Modifier and Type | Method and Description |
|---|---|
static <T> SheetReader<T> |
Octopus.readBySheetName(InputStream is,
String sheetName,
Config config,
CellPosition startPosition)
read data from sheet by nodeName in excel
|
static <T> SheetReader<CheckedData<T>> |
Octopus.readBySheetNameWithValidation(InputStream is,
String sheetName,
Config config,
CellPosition startPosition) |
static <T> SheetReader<T> |
Octopus.readFirstSheet(InputStream is,
Config config,
CellPosition startPosition)
read data from first sheet of excel
|
static <T> SheetReader<CheckedData<T>> |
Octopus.readFirstSheetWithValidation(InputStream is,
Config config,
CellPosition startPosition) |
static <T> SheetReader<T> |
Octopus.readOneSheet(InputStream is,
int index,
Config config,
CellPosition startPosition)
read data from sheet at the specified position in excel
|
static <T> SheetReader<CheckedData<T>> |
Octopus.readOneSheetWithValidation(InputStream is,
int index,
Config config,
CellPosition startPosition) |
static <T> void |
Octopus.writeOneSheet(OutputStream os,
Config config,
String sheetName,
Collection<T> data)
write one sheet into excel file
|
| Modifier and Type | Method and Description |
|---|---|
Config |
ConfigFactory.getConfig() |
Config |
XmlConfigFactory.getConfig() |
| Modifier and Type | Method and Description |
|---|---|
Config |
AnnotationConfigFactory.getConfig() |
| Modifier and Type | Field and Description |
|---|---|
protected Config |
AbstractSheetReader.config |
| Modifier and Type | Method and Description |
|---|---|
SheetReader<T> |
DefaultExcelReader.get(int index,
Config config,
CellPosition startPoint) |
SheetReader<CheckedData<T>> |
CheckedExcelReader.get(int index,
Config config,
CellPosition startPoint) |
SheetReader<T> |
ExcelReader.get(int index,
Config config,
CellPosition startPoint) |
SheetReader<T> |
DefaultExcelReader.get(String sheetName,
Config config,
CellPosition startPoint) |
SheetReader<T> |
ExcelReader.get(String sheetName,
Config config,
CellPosition startPoint) |
| Constructor and Description |
|---|
AbstractSheetReader(org.apache.poi.ss.usermodel.Sheet sheet,
Config config,
CellPosition startPoint) |
CheckedSheetReader(org.apache.poi.ss.usermodel.Sheet sheet,
Config config,
CellPosition startPoint) |
DefaultSheetReader(org.apache.poi.ss.usermodel.Sheet sheet,
Config config,
CellPosition startPoint) |
| Modifier and Type | Field and Description |
|---|---|
protected Config |
AbstractSheetWriter.config |
| Constructor and Description |
|---|
AbstractSheetWriter(Config config,
HeaderWriter headerWriter,
CellPosition startPoint) |
DefaultSheetWriter(Config config) |
DefaultSheetWriter(Config config,
HeaderWriter headerWriter,
CellPosition startPoint) |
Copyright © 2019. All rights reserved.