public class ExcelUtil extends Object
| Constructor and Description |
|---|
ExcelUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static ExcelDataInfo |
readData(File file) |
static ExcelDataInfo |
readData2007(File file,
String sheetName) |
static ExcelDataInfo |
readData2007(InputStream is,
String sheetName) |
static org.apache.poi.hssf.usermodel.HSSFWorkbook |
write(Map<String,String> headers,
List<Map> result) |
public static ExcelDataInfo readData(File file) throws IOException
IOExceptionpublic static ExcelDataInfo readData2007(File file, String sheetName) throws IOException
IOExceptionpublic static ExcelDataInfo readData2007(InputStream is, String sheetName) throws IOException
IOExceptionpublic static org.apache.poi.hssf.usermodel.HSSFWorkbook write(Map<String,String> headers, List<Map> result) throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
IOExceptionCopyright © 2020. All rights reserved.