程序包 | 说明 |
---|---|
com.alibaba.excel | |
com.alibaba.excel.write.builder |
限定符和类型 | 方法和说明 |
---|---|
static ExcelWriterBuilder |
EasyExcelFactory.write()
Build excel the write
|
static ExcelWriterBuilder |
EasyExcelFactory.write(File file)
Build excel the write
|
static ExcelWriterBuilder |
EasyExcelFactory.write(File file,
Class head)
Build excel the write
|
static ExcelWriterBuilder |
EasyExcelFactory.write(OutputStream outputStream)
Build excel the write
|
static ExcelWriterBuilder |
EasyExcelFactory.write(OutputStream outputStream,
Class head)
Build excel the write
|
static ExcelWriterBuilder |
EasyExcelFactory.write(String pathName)
Build excel the write
|
static ExcelWriterBuilder |
EasyExcelFactory.write(String pathName,
Class head)
Build excel the write
|
限定符和类型 | 方法和说明 |
---|---|
ExcelWriterBuilder |
ExcelWriterBuilder.autoCloseStream(Boolean autoCloseStream)
Default true
|
ExcelWriterBuilder |
ExcelWriterBuilder.convertAllFiled(Boolean convertAllFiled)
已过时。
Just to be compatible with historical data, The default is always going to be convert all filed.
|
ExcelWriterBuilder |
ExcelWriterBuilder.excelType(ExcelTypeEnum excelType) |
ExcelWriterBuilder |
ExcelWriterBuilder.file(File outputFile) |
ExcelWriterBuilder |
ExcelWriterBuilder.file(OutputStream outputStream) |
ExcelWriterBuilder |
ExcelWriterBuilder.file(String outputPathName) |
ExcelWriterBuilder |
ExcelWriterBuilder.inMemory(Boolean inMemory)
Write excel in memory.
|
ExcelWriterBuilder |
ExcelWriterBuilder.password(String password)
Whether the encryption.
|
ExcelWriterBuilder |
ExcelWriterBuilder.registerWriteHandler(WriteHandler writeHandler)
已过时。
please use
WriteHandler |
ExcelWriterBuilder |
ExcelWriterBuilder.withTemplate(File templateFile) |
ExcelWriterBuilder |
ExcelWriterBuilder.withTemplate(InputStream templateInputStream) |
ExcelWriterBuilder |
ExcelWriterBuilder.withTemplate(String pathName) |
ExcelWriterBuilder |
ExcelWriterBuilder.writeExcelOnException(Boolean writeExcelOnException)
Excel is also written in the event of an exception being thrown.The default false.
|
Copyright © 2018–2021 Alibaba Group. All rights reserved.