public class ImportHelper extends DefaultHelper<ExcelDataInfo>
| Constructor and Description |
|---|
ImportHelper() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
execute(Connection connection,
String sql,
int length,
List<Object> objects,
List<ExportFieldInfo> exportFieldInfos,
Map<String,Integer> headerMap,
int indexS,
Map<String,Object> parentParams) |
List<Map<String,Object>> |
execute(DataSource dataSource,
Class<? extends View> view,
Decorter<ExcelDataInfo> decorter) |
static void |
main(String[] args) |
after, before, parse, runpublic List<Map<String,Object>> execute(DataSource dataSource, Class<? extends View> view, Decorter<ExcelDataInfo> decorter) throws ExcelException, IOException
execute in class DefaultHelper<ExcelDataInfo>ExcelExceptionIOExceptionpublic Map<String,Object> execute(Connection connection, String sql, int length, List<Object> objects, List<ExportFieldInfo> exportFieldInfos, Map<String,Integer> headerMap, int indexS, Map<String,Object> parentParams)
public static void main(String[] args) throws ExcelException
ExcelExceptionCopyright © 2020. All rights reserved.