程序包 | 说明 |
---|---|
com.alibaba.excel | |
com.alibaba.excel.read.builder |
限定符和类型 | 方法和说明 |
---|---|
static ExcelReaderBuilder |
EasyExcelFactory.read()
Build excel the read
|
static ExcelReaderBuilder |
EasyExcelFactory.read(File file)
Build excel the read
|
static ExcelReaderBuilder |
EasyExcelFactory.read(File file,
Class head,
ReadListener readListener)
Build excel the read
|
static ExcelReaderBuilder |
EasyExcelFactory.read(File file,
ReadListener readListener)
Build excel the read
|
static ExcelReaderBuilder |
EasyExcelFactory.read(InputStream inputStream)
Build excel the read
|
static ExcelReaderBuilder |
EasyExcelFactory.read(InputStream inputStream,
Class head,
ReadListener readListener)
Build excel the read
|
static ExcelReaderBuilder |
EasyExcelFactory.read(InputStream inputStream,
ReadListener readListener)
Build excel the read
|
static ExcelReaderBuilder |
EasyExcelFactory.read(String pathName)
Build excel the read
|
static ExcelReaderBuilder |
EasyExcelFactory.read(String pathName,
Class head,
ReadListener readListener)
Build excel the read
|
static ExcelReaderBuilder |
EasyExcelFactory.read(String pathName,
ReadListener readListener)
Build excel the read
|
限定符和类型 | 方法和说明 |
---|---|
ExcelReaderBuilder |
ExcelReaderBuilder.autoCloseStream(Boolean autoCloseStream)
Default true
|
ExcelReaderBuilder |
ExcelReaderBuilder.customObject(Object customObject)
This object can be read in the Listener
ReadListener.invoke(Object, AnalysisContext)
AnalysisContext.getCustom() |
ExcelReaderBuilder |
ExcelReaderBuilder.excelType(ExcelTypeEnum excelType) |
ExcelReaderBuilder |
ExcelReaderBuilder.extraRead(CellExtraTypeEnum extraType)
Read some extra information, not by default
|
ExcelReaderBuilder |
ExcelReaderBuilder.file(File file)
Read file
If 'inputStream' and 'file' all not empty,file first
|
ExcelReaderBuilder |
ExcelReaderBuilder.file(InputStream inputStream)
Read InputStream
If 'inputStream' and 'file' all not empty,file first
|
ExcelReaderBuilder |
ExcelReaderBuilder.file(String pathName)
Read file
If 'inputStream' and 'file' all not empty,file first
|
ExcelReaderBuilder |
ExcelReaderBuilder.ignoreEmptyRow(Boolean ignoreEmptyRow)
Ignore empty rows.Default is true.
|
ExcelReaderBuilder |
ExcelReaderBuilder.mandatoryUseInputStream(Boolean mandatoryUseInputStream)
Mandatory use 'inputStream' .Default is false.
|
ExcelReaderBuilder |
ExcelReaderBuilder.password(String password)
Whether the encryption
|
ExcelReaderBuilder |
ExcelReaderBuilder.readCache(ReadCache readCache)
A cache that stores temp data to save memory.
|
ExcelReaderBuilder |
ExcelReaderBuilder.readCacheSelector(ReadCacheSelector readCacheSelector)
Select the cache.Default use
SimpleReadCacheSelector |
ExcelReaderBuilder |
ExcelReaderBuilder.useDefaultListener(Boolean useDefaultListener)
Whether to use the default listener, which is used by default.
|
ExcelReaderBuilder |
ExcelReaderBuilder.xlsxSAXParserFactoryName(String xlsxSAXParserFactoryName)
SAXParserFactory used when reading xlsx.
|
Copyright © 2018–2021 Alibaba Group. All rights reserved.