public class ExcelReader extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DATE_FORMAT |
static Locale |
LOCALE_NL |
| Constructor and Description |
|---|
ExcelReader() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getColumns(String fileName) |
protected String |
getDateValue(org.apache.poi.hssf.usermodel.HSSFCell cell) |
protected Object |
getDateValueFromJavaNumber(org.apache.poi.hssf.usermodel.HSSFCell cell) |
protected BigDecimal |
getNumericValue(org.apache.poi.hssf.usermodel.HSSFCell cell) |
List<String> |
getRecord(String fileName,
Integer index,
String searchValue) |
public static final Locale LOCALE_NL
public static final String DATE_FORMAT
public List<String> getRecord(String fileName, Integer index, String searchValue) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic List<String> getColumns(String fileName) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionprotected Object getDateValueFromJavaNumber(org.apache.poi.hssf.usermodel.HSSFCell cell)
protected String getDateValue(org.apache.poi.hssf.usermodel.HSSFCell cell)
protected BigDecimal getNumericValue(org.apache.poi.hssf.usermodel.HSSFCell cell)
Copyright © 2017. All rights reserved.