类的使用
cn.toutatis.xvoid.axolotl.excel.reader.ReaderConfig
使用ReaderConfig的程序包
程序包
说明
-
cn.toutatis.xvoid.axolotl.excel.reader中ReaderConfig的使用
修饰符和类型方法说明<RT> RTAxolotlStreamExcelReader.castRow2Instance(org.apache.poi.ss.usermodel.Row row, ReaderConfig<RT> readerConfig) 读取行数据转换为对象<RT> AxolotlExcelStream<RT>AxolotlStreamExcelReader.dataIterator(ReaderConfig<RT> readerConfig) 数据迭代器<RT> List<RT>AxolotlExcelReader.readSheetData(ReaderConfig<RT> readerConfig) [ROOT] 读取Excel数据 -
cn.toutatis.xvoid.axolotl.excel.reader.support中ReaderConfig的使用
修饰符和类型字段说明protected ReaderConfig<T>AxolotlAbstractExcelReader._sheetLevelReaderConfig[内部属性] 直接指定读取的类 在读取数据时使用不指定读取类型的读取方法时,使用该类读取数据修饰符和类型方法说明protected ObjectAxolotlAbstractExcelReader.adaptiveCellValue2EntityClass(CellGetInfo info, EntityCellMappingInfo<?> mappingInfo, ReaderConfig<?> readerConfig) [ROOT] 适配实体类的字段protected ObjectAxolotlAbstractExcelReader.adaptiveValue(DataCastAdapter<Object> adapter, CellGetInfo info, EntityCellMappingInfo<Object> mappingInfo, ReaderConfig<Object> readerConfig) protected voidAxolotlAbstractExcelReader.assignValueToField(Object instance, Object adaptiveValue, EntityCellMappingInfo<?> mappingInfo, ReaderConfig<?> readerConfig) [ROOT] 讲适配后的值赋值给实体类字段protected <RT> voidAxolotlAbstractExcelReader.convertCellToInstance(org.apache.poi.ss.usermodel.Row row, RT instance, ReaderConfig<RT> readerConfig) protected voidAxolotlAbstractExcelReader.convertPositionCellToInstance(Object instance, ReaderConfig<?> readerConfig, org.apache.poi.ss.usermodel.Sheet sheet) intAxolotlAbstractExcelReader.getPhysicalRowNumber(ReaderConfig<?> readerConfig) intAxolotlAbstractExcelReader.getRecordRowNumber(ReaderConfig<?> readerConfig) intAxolotlAbstractExcelReader.getRowNumber(ReaderConfig<?> readerConfig, boolean isPhysical) 获取行数protected voidAxolotlAbstractExcelReader.preCheckAndFixReadConfig(ReaderConfig<?> readerConfig) [ROOT] 预校验读取配置是否正常 不正常的数据将被修正protected <RT> RTAxolotlAbstractExcelReader.readRow(org.apache.poi.ss.usermodel.Sheet sheet, int rowNumber, ReaderConfig<RT> readerConfig) [ROOT] 读取行信息到对象<RT> RTAxolotlAbstractExcelReader.readSheetDataAsObject(ReaderConfig<RT> readerConfig) [ROOT] 读取Excel工作表为一个实体protected <RT> voidAxolotlAbstractExcelReader.row2MapInstance(Map<String, Object> instance, org.apache.poi.ss.usermodel.Row row, ReaderConfig<RT> readerConfig) [ROOT] 填充单元格数据到mapprotected <RT> voidAxolotlAbstractExcelReader.row2SimplePOJO(RT instance, org.apache.poi.ss.usermodel.Row row, ReaderConfig<RT> readerConfig) 填充单元格数据到Java对象protected voidAxolotlAbstractExcelReader.searchHeaderCellPosition(ReaderConfig<?> readerConfig) 查找表头protected org.apache.poi.ss.usermodel.SheetAxolotlAbstractExcelReader.searchSheet(ReaderConfig<?> readerConfig) -
cn.toutatis.xvoid.axolotl.excel.reader.support.stream中ReaderConfig的使用