com.alibaba.excel.write.builder
类 AbstractExcelWriterParameterBuilder<T extends AbstractExcelWriterParameterBuilder,C extends WriteBasicParameter>
- java.lang.Object
-
- com.alibaba.excel.metadata.AbstractParameterBuilder<T,C>
-
- com.alibaba.excel.write.builder.AbstractExcelWriterParameterBuilder<T,C>
-
public abstract class AbstractExcelWriterParameterBuilder<T extends AbstractExcelWriterParameterBuilder,C extends WriteBasicParameter> extends AbstractParameterBuilder<T,C>
Build ExcelBuilder- 作者:
- Jiaju Zhuang
-
构造器概要
构造器 构造器和说明 AbstractExcelWriterParameterBuilder()
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 T
automaticMergeHead(Boolean automaticMergeHead)
Whether to automatically merge headers.Default is true.T
excludeColumnFiledNames(Collection<String> excludeColumnFiledNames)
Ignore the custom columns.T
excludeColumnIndexes(Collection<Integer> excludeColumnIndexes)
Ignore the custom columns.T
includeColumnFiledNames(Collection<String> includeColumnFiledNames)
Only output the custom columns.T
includeColumnIndexes(Collection<Integer> includeColumnIndexes)
Only output the custom columns.T
needHead(Boolean needHead)
Need HeadT
registerWriteHandler(WriteHandler writeHandler)
Custom write handlerT
relativeHeadRowIndex(Integer relativeHeadRowIndex)
Writes the head relative to the existing contents of the sheet.T
useDefaultStyle(Boolean useDefaultStyle)
Use the default style.Default is true.从类继承的方法 com.alibaba.excel.metadata.AbstractParameterBuilder
autoTrim, head, head, locale, parameter, registerConverter, self, use1904windowing
-
方法详细资料
relativeHeadRowIndex
public T relativeHeadRowIndex(Integer relativeHeadRowIndex)
Writes the head relative to the existing contents of the sheet. Indexes are zero-based.- 参数:
-
relativeHeadRowIndex
- - 返回:
registerWriteHandler
public T registerWriteHandler(WriteHandler writeHandler)
Custom write handler- 参数:
-
writeHandler
- - 返回:
useDefaultStyle
public T useDefaultStyle(Boolean useDefaultStyle)
Use the default style.Default is true.- 参数:
-
useDefaultStyle
- - 返回:
automaticMergeHead
public T automaticMergeHead(Boolean automaticMergeHead)
Whether to automatically merge headers.Default is true.- 参数:
-
automaticMergeHead
- - 返回:
excludeColumnIndexes
public T excludeColumnIndexes(Collection<Integer> excludeColumnIndexes)
Ignore the custom columns.
excludeColumnFiledNames
public T excludeColumnFiledNames(Collection<String> excludeColumnFiledNames)
Ignore the custom columns.
includeColumnIndexes
public T includeColumnIndexes(Collection<Integer> includeColumnIndexes)
Only output the custom columns.
includeColumnFiledNames
public T includeColumnFiledNames(Collection<String> includeColumnFiledNames)
Only output the custom columns.
Copyright © 2018–2021 Alibaba Group. All rights reserved.