public class Excel2007Util extends ExcelUtil
ExcelUtil.COLUMN, ExcelUtil.ExcelFileLock
限定符和类型 | 字段和说明 |
---|---|
boolean |
isEmpty |
PREVIEW_COUNT
限定符 | 构造器和说明 |
---|---|
|
Excel2007Util(java.io.InputStream in,
boolean preview) |
|
Excel2007Util(java.lang.String filePath,
boolean preview) |
protected |
Excel2007Util(com.fr.third.v2.org.apache.poi.xssf.model.StylesTable styles,
com.fr.third.v2.org.apache.poi.xssf.eventusermodel.ReadOnlySharedStringsTable strings,
java.io.InputStream sheetInputStream) |
限定符和类型 | 方法和说明 |
---|---|
static java.util.List<Excel2007Util> |
createMutiSheetExcel(java.io.InputStream in) |
int |
getColumnCount() |
java.util.List<java.lang.Object[]> |
getRowDataList() |
void |
mergeCell() |
void |
process() |
void |
processFirstSheet() |
void |
processFirstSheetFromBI() |
void |
processSheet(com.fr.third.v2.org.apache.poi.xssf.model.StylesTable styles,
com.fr.third.v2.org.apache.poi.xssf.eventusermodel.ReadOnlySharedStringsTable strings,
java.io.InputStream sheetInputStream) |
mergeCells, replaceSpecialCharOfNumber, supportDateFormat
protected Excel2007Util(com.fr.third.v2.org.apache.poi.xssf.model.StylesTable styles, com.fr.third.v2.org.apache.poi.xssf.eventusermodel.ReadOnlySharedStringsTable strings, java.io.InputStream sheetInputStream) throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public Excel2007Util(java.lang.String filePath, boolean preview) throws java.lang.Exception
java.lang.Exception
public Excel2007Util(java.io.InputStream in, boolean preview) throws java.lang.Exception
java.lang.Exception
public static java.util.List<Excel2007Util> createMutiSheetExcel(java.io.InputStream in) throws java.lang.Exception
java.lang.Exception
public int getColumnCount()
public java.util.List<java.lang.Object[]> getRowDataList()
public void mergeCell()
public void processSheet(com.fr.third.v2.org.apache.poi.xssf.model.StylesTable styles, com.fr.third.v2.org.apache.poi.xssf.eventusermodel.ReadOnlySharedStringsTable strings, java.io.InputStream sheetInputStream) throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public void processFirstSheet() throws java.lang.Exception
java.lang.Exception
public void processFirstSheetFromBI() throws java.lang.Exception
java.lang.Exception
public void process() throws java.io.IOException, com.fr.third.v2.org.apache.poi.openxml4j.exceptions.OpenXML4JException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
java.io.IOException
com.fr.third.v2.org.apache.poi.openxml4j.exceptions.OpenXML4JException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException