Package | Description |
---|---|
cn.hutool.poi.excel.sax |
Sax方式操作Excel方式的封装
|
Modifier and Type | Class and Description |
---|---|
class |
StopReadException
读取结束异常,用于标记读取结束
Sax方式读取时,如果用户在RowHandler中抛出此异常,表示读取结束,此时不再读取其他数据 |
Modifier and Type | Method and Description |
---|---|
default T |
ExcelSaxReader.read(File file)
开始读取Excel,读取所有sheet
|
default T |
ExcelSaxReader.read(File file,
int rid)
开始读取Excel
|
Excel07SaxReader |
Excel07SaxReader.read(File file,
int rid) |
T |
ExcelSaxReader.read(File file,
String idOrRidOrSheetName)
开始读取Excel
|
Excel07SaxReader |
Excel07SaxReader.read(File file,
String idOrRidOrSheetName) |
Excel03SaxReader |
Excel03SaxReader.read(File file,
String idOrRidOrSheetName) |
default T |
ExcelSaxReader.read(InputStream in)
开始读取Excel,读取所有sheet,读取结束后并不关闭流
|
default T |
ExcelSaxReader.read(InputStream in,
int rid)
开始读取Excel,读取结束后并不关闭流
|
Excel07SaxReader |
Excel07SaxReader.read(InputStream in,
int rid) |
T |
ExcelSaxReader.read(InputStream in,
String idOrRidOrSheetName)
开始读取Excel,读取结束后并不关闭流
|
Excel07SaxReader |
Excel07SaxReader.read(InputStream in,
String idOrRidOrSheetName) |
Excel03SaxReader |
Excel03SaxReader.read(InputStream excelStream,
String idOrRidOrSheetName) |
Excel07SaxReader |
Excel07SaxReader.read(org.apache.poi.openxml4j.opc.OPCPackage opcPackage,
int rid)
开始读取Excel,Sheet编号从0开始计数
|
Excel07SaxReader |
Excel07SaxReader.read(org.apache.poi.openxml4j.opc.OPCPackage opcPackage,
String idOrRidOrSheetName)
开始读取Excel,Sheet编号从0开始计数
|
Excel03SaxReader |
Excel03SaxReader.read(org.apache.poi.poifs.filesystem.POIFSFileSystem fs,
String idOrRidOrSheetName)
读取
|
default T |
ExcelSaxReader.read(String path)
开始读取Excel,读取所有sheet
|
default T |
ExcelSaxReader.read(String path,
int idOrRidOrSheetName)
开始读取Excel
|
default T |
ExcelSaxReader.read(String path,
String idOrRidOrSheetName)
开始读取Excel
|
Excel07SaxReader |
Excel07SaxReader.read(org.apache.poi.xssf.eventusermodel.XSSFReader xssfReader,
String idOrRidOrSheetName)
开始读取Excel,Sheet编号从0开始计数
|
static void |
ExcelSaxUtil.readFrom(InputStream xmlDocStream,
ContentHandler handler)
从Excel的XML文档中读取内容,并使用
ContentHandler 处理 |
Copyright © 2024. All rights reserved.