com.wuwenze.poi.xlsx
类 ExcelXlsxReader

java.lang.Object
  继承者 org.xml.sax.helpers.DefaultHandler
      继承者 com.wuwenze.poi.xlsx.ExcelXlsxReader
所有已实现的接口:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class ExcelXlsxReader
extends org.xml.sax.helpers.DefaultHandler

作者:
wuwenze

构造方法摘要
ExcelXlsxReader(Class<? extends Object> entityClass, ExcelMapping excelMapping, ExcelReadHandler excelReadHandler)
           
ExcelXlsxReader(Class<? extends Object> entityClass, ExcelMapping excelMapping, Integer beginReadRowIndex, ExcelReadHandler excelReadHandler)
           
 
方法摘要
 void characters(char[] chars, int start, int length)
           
 void endElement(String uri, String localName, String name)
           
 void process(InputStream in)
           
 void process(InputStream in, int sheetIndex)
           
 void process(String fileName)
           
 void process(String fileName, int sheetIndex)
           
 void startElement(String uri, String localName, String name, Attributes attributes)
           
 
从类 org.xml.sax.helpers.DefaultHandler 继承的方法
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ExcelXlsxReader

public ExcelXlsxReader(Class<? extends Object> entityClass,
                       ExcelMapping excelMapping,
                       ExcelReadHandler excelReadHandler)

ExcelXlsxReader

public ExcelXlsxReader(Class<? extends Object> entityClass,
                       ExcelMapping excelMapping,
                       Integer beginReadRowIndex,
                       ExcelReadHandler excelReadHandler)
方法详细信息

process

public void process(String fileName)
             throws ExcelKitRuntimeException
抛出:
ExcelKitRuntimeException

process

public void process(InputStream in)
             throws ExcelKitRuntimeException
抛出:
ExcelKitRuntimeException

process

public void process(String fileName,
                    int sheetIndex)
             throws ExcelKitRuntimeException
抛出:
ExcelKitRuntimeException

process

public void process(InputStream in,
                    int sheetIndex)
             throws ExcelKitRuntimeException
抛出:
ExcelKitRuntimeException

startElement

public void startElement(String uri,
                         String localName,
                         String name,
                         Attributes attributes)
                  throws SAXException
指定者:
接口 ContentHandler 中的 startElement
覆盖:
org.xml.sax.helpers.DefaultHandler 中的 startElement
抛出:
SAXException

endElement

public void endElement(String uri,
                       String localName,
                       String name)
指定者:
接口 ContentHandler 中的 endElement
覆盖:
org.xml.sax.helpers.DefaultHandler 中的 endElement

characters

public void characters(char[] chars,
                       int start,
                       int length)
指定者:
接口 ContentHandler 中的 characters
覆盖:
org.xml.sax.helpers.DefaultHandler 中的 characters


Copyright © 2019. All rights reserved.