public class ExcelUtil extends Object
| 构造器和说明 |
|---|
ExcelUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
appendValue2003(List<Map<String,Object>> valueList,
String filePath,
String tableName) |
static int |
appendValue2007(List<Map<String,Object>> valueList,
String filePath,
String tableName) |
static int |
appendValueCsv(List<List<Object>> lines,
String filePath) |
static int |
deleteValue2003(List<PredicateEntity<Object>> predicateEntities,
String filePath,
String tableName) |
static int |
deleteValue2007(List<PredicateEntity<Object>> predicateEntities,
String filePath,
String tableName) |
static int |
deleteValueCsv(List<PredicateEntity<Object>> predicateEntities,
String filePath,
String tableName) |
static String |
getSuffix(String filePath) |
static List<Map<String,String>> |
readExcel(String filePath)
读取excel
|
static String |
readExcelHead(String filePath) |
static int |
updateValue2003(Map<String,Object> updateItems,
List<PredicateEntity<Object>> predicateEntities,
String filePath,
String tableName) |
static int |
updateValue2007(Map<String,Object> updateItems,
List<PredicateEntity<Object>> predicateEntities,
String filePath,
String tableName) |
static int |
updateValueCsv(Map<String,Object> updateItems,
List<PredicateEntity<Object>> predicateEntities,
String filePath,
String tableName) |
public static String readExcelHead(String filePath) throws IOException
IOExceptionpublic static List<Map<String,String>> readExcel(String filePath) throws IOException
filePath - filePathIOException - IOExceptionpublic static int updateValue2003(Map<String,Object> updateItems, List<PredicateEntity<Object>> predicateEntities, String filePath, String tableName) throws IOException
IOExceptionpublic static int deleteValue2007(List<PredicateEntity<Object>> predicateEntities, String filePath, String tableName) throws IOException
IOExceptionpublic static int deleteValue2003(List<PredicateEntity<Object>> predicateEntities, String filePath, String tableName) throws IOException
IOExceptionpublic static int updateValue2007(Map<String,Object> updateItems, List<PredicateEntity<Object>> predicateEntities, String filePath, String tableName) throws IOException
IOExceptionpublic static int appendValue2007(List<Map<String,Object>> valueList, String filePath, String tableName) throws IOException
IOExceptionpublic static int appendValue2003(List<Map<String,Object>> valueList, String filePath, String tableName) throws IOException
IOExceptionpublic static int appendValueCsv(List<List<Object>> lines, String filePath) throws IOException
IOExceptionpublic static int updateValueCsv(Map<String,Object> updateItems, List<PredicateEntity<Object>> predicateEntities, String filePath, String tableName) throws IOException
IOExceptionpublic static int deleteValueCsv(List<PredicateEntity<Object>> predicateEntities, String filePath, String tableName) throws IOException
IOExceptionCopyright © 2019. All rights reserved.