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, supportDateFormatprotected 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.IOExceptionjavax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionpublic Excel2007Util(java.lang.String filePath,
boolean preview)
throws java.lang.Exception
java.lang.Exceptionpublic Excel2007Util(java.io.InputStream in,
boolean preview)
throws java.lang.Exception
java.lang.Exceptionpublic static java.util.List<Excel2007Util> createMutiSheetExcel(java.io.InputStream in) throws java.lang.Exception
java.lang.Exceptionpublic 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.IOExceptionjavax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionpublic void processFirstSheet()
throws java.lang.Exception
java.lang.Exceptionpublic void processFirstSheetFromBI()
throws java.lang.Exception
java.lang.Exceptionpublic 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.IOExceptioncom.fr.third.v2.org.apache.poi.openxml4j.exceptions.OpenXML4JExceptionjavax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXException