| Package | Description |
|---|---|
| com.poiji.bind | |
| com.poiji.bind.mapping | |
| com.poiji.config | |
| com.poiji.option | |
| com.poiji.util |
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
Poiji.fromExcel(File file,
Class<T> type,
PoijiOptions options)
converts excel rows into a list of objects
|
static <T> void |
Poiji.fromExcel(File file,
Class<T> type,
PoijiOptions options,
Consumer<? super T> consumer)
converts excel rows into a list of objects
|
static <T> List<T> |
Poiji.fromExcel(InputStream inputStream,
PoijiExcelType excelType,
Class<T> type,
PoijiOptions options)
converts excel rows into a list of objects
|
static <T> void |
Poiji.fromExcel(InputStream inputStream,
PoijiExcelType excelType,
Class<T> type,
PoijiOptions options,
Consumer<? super T> consumer)
converts excel rows into a list of objects
|
static <T> List<T> |
Poiji.fromExcel(org.apache.poi.ss.usermodel.Sheet sheet,
Class<T> type,
PoijiOptions options)
converts excel rows into a list of objects
|
static <T> void |
Poiji.fromExcel(org.apache.poi.ss.usermodel.Sheet sheet,
Class<T> type,
PoijiOptions options,
Consumer<? super T> consumer)
converts excel rows into a list of objects
|
static <T> T |
Poiji.fromExcelProperties(File file,
Class<T> type,
PoijiOptions options)
converts excel properties into an object
|
static <T> T |
Poiji.fromExcelProperties(InputStream inputStream,
PoijiExcelType excelType,
Class<T> type,
PoijiOptions options)
converts excel properties into an object
|
default <T> Optional<String> |
Unmarshaller.getSheetName(Class<T> type,
PoijiOptions options) |
| Modifier and Type | Method and Description |
|---|---|
static HSSFPropertyFile |
PoijiPropertyHelper.createPoijiPropertyFile(File file,
PoijiOptions options) |
static HSSFPropertyStream |
PoijiPropertyHelper.createPoijiPropertyStream(InputStream inputStream,
PoijiOptions options) |
<T> Optional<String> |
SheetUnmarshaller.getSheetName(Class<T> type,
PoijiOptions options) |
static Unmarshaller |
UnmarshallerHelper.HSSFInstance(PoijiFile<?> poijiFile,
PoijiOptions options) |
static Unmarshaller |
UnmarshallerHelper.HSSFInstance(PoijiInputStream<?> poijiInputStream,
PoijiOptions options) |
static Unmarshaller |
UnmarshallerHelper.SheetInstance(org.apache.poi.ss.usermodel.Sheet sheet,
PoijiOptions options) |
static Unmarshaller |
UnmarshallerHelper.XSSFInstance(PoijiFile<?> poijiFile,
PoijiOptions options) |
static Unmarshaller |
UnmarshallerHelper.XSSFInstance(PoijiInputStream<?> poijiInputStream,
PoijiOptions options) |
| Modifier and Type | Method and Description |
|---|---|
Object |
DefaultCasting.castValue(Field field,
String rawValue,
int row,
int col,
PoijiOptions options) |
Object |
Casting.castValue(Field fieldType,
String value,
int row,
int column,
PoijiOptions options) |
protected Object |
DefaultCasting.getValueObject(Field field,
int row,
int col,
PoijiOptions options,
String rawValue,
Class<?> fieldType) |
String |
DefaultFormatting.transform(PoijiOptions options,
String value) |
String |
Formatting.transform(PoijiOptions options,
String value)
Normalize header names using custom formatting
|
| Modifier and Type | Method and Description |
|---|---|
PoijiOptions |
PoijiOptions.PoijiOptionsBuilder.build() |
PoijiOptions |
PoijiOptions.setCasting(Casting casting) |
PoijiOptions |
PoijiOptions.setLimit(int limit) |
PoijiOptions |
PoijiOptions.setTrimCellValue(boolean trimCellValue) |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
AnnotationUtil.validateMandatoryNameColumns(PoijiOptions options,
Formatting formatting,
Class<T> modelType,
Collection<String> headerNames)
Validate that all headers specified via @ExcelCellName annotations are present in the list of header names.
|
Copyright © 2017–2020. All rights reserved.