public class Excel2007EventUserModelParser extends java.lang.Object implements IFileParser
| 构造器和说明 |
|---|
Excel2007EventUserModelParser(java.io.InputStream input) |
Excel2007EventUserModelParser(java.lang.String input) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.io.Reader |
getContentReader() |
java.lang.String |
getContentString() |
java.lang.String |
getMetadata(java.lang.String metadataname) |
java.lang.String |
getTitle() |
void |
process()
Initiates the processing of the XLS workbook file to CSV.
|
void |
processSheet(org.apache.poi.xssf.model.StylesTable styles,
com.seeyon.ctp.common.parser.Excel2007EventUserModelParser.ReadonlySharedStringsTable strings,
java.io.InputStream sheetInputStream)
Parses and shows the content of one sheet
using the specified styles and shared-strings tables.
|
void |
setFile(com.seeyon.ctp.common.file.model.CtpAbstractFile file) |
public Excel2007EventUserModelParser(java.lang.String input)
input - inputminColumns - The minimum number of columns to output, or -1 for no minimumpublic Excel2007EventUserModelParser(java.io.InputStream input)
public void processSheet(org.apache.poi.xssf.model.StylesTable styles,
com.seeyon.ctp.common.parser.Excel2007EventUserModelParser.ReadonlySharedStringsTable strings,
java.io.InputStream sheetInputStream)
throws java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
styles - strings - sheetInputStream - java.io.IOExceptionjavax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionpublic void process()
throws java.io.IOException,
org.apache.poi.openxml4j.exceptions.OpenXML4JException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
java.io.IOExceptionorg.apache.poi.openxml4j.exceptions.OpenXML4JExceptionjavax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionpublic void setFile(com.seeyon.ctp.common.file.model.CtpAbstractFile file)
setFile 在接口中 IFileParserpublic java.lang.String getTitle()
getTitle 在接口中 IFileParserpublic java.lang.String getContentString()
getContentString 在接口中 IFileParserpublic java.io.Reader getContentReader()
getContentReader 在接口中 IFileParserpublic java.lang.String getMetadata(java.lang.String metadataname)
getMetadata 在接口中 IFileParser