类 ExcelWriterTableBuilder
java.lang.Object
com.sh.wf.excel.write.builder.ExcelWriterTableBuilder
Build sheet
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明automaticMergeHead(Boolean automaticMergeHead) Whether to automatically merge headers.Default is true.build()voidexcludeColumnFiledNames(Collection<String> excludeColumnFiledNames) Ignore the custom columns.excludeColumnIndexes(Collection<Integer> excludeColumnIndexes) Ignore the custom columns.You can only choose one of thehead(List)andhead(Class)You can only choose one of thehead(List)andhead(Class)includeColumnFiledNames(Collection<String> includeColumnFiledNames) Only output the custom columns.includeColumnIndexes(Collection<Integer> includeColumnIndexes) Only output the custom columns.registerConverter(Converter converter) Custom type conversions override the default.registerWriteHandler(WriteHandler writeHandler) Custom write handlerrelativeHeadRowIndex(Integer relativeHeadRowIndex) Writes the head relative to the existing contents of the sheet.Starting from 0useDefaultStyle(Boolean useDefaultStyle) Use the default style.Default is true.
-
构造器详细资料
-
ExcelWriterTableBuilder
public ExcelWriterTableBuilder() -
ExcelWriterTableBuilder
-
-
方法详细资料
-
relativeHeadRowIndex
Writes the head relative to the existing contents of the sheet. Indexes are zero-based.- 参数:
relativeHeadRowIndex- Integer- 返回:
- ExcelWriterTableBuilder
-
head
You can only choose one of thehead(List)andhead(Class)- 参数:
head- List- 返回:
- ExcelWriterTableBuilder
-
head
You can only choose one of thehead(List)andhead(Class)- 参数:
clazz- Class- 返回:
- ExcelWriterTableBuilder
-
needHead
-
useDefaultStyle
Use the default style.Default is true.- 参数:
useDefaultStyle- Boolean- 返回:
- ExcelWriterTableBuilder
-
automaticMergeHead
Whether to automatically merge headers.Default is true.- 参数:
automaticMergeHead- Boolean- 返回:
- ExcelWriterTableBuilder
-
registerConverter
Custom type conversions override the default.- 参数:
converter- Converter- 返回:
- ExcelWriterTableBuilder
-
registerWriteHandler
Custom write handler- 参数:
writeHandler- WriteHandler- 返回:
- ExcelWriterTableBuilder
-
tableNo
Starting from 0- 参数:
tableNo- Integer- 返回:
- ExcelWriterTableBuilder
-
excludeColumnIndexes
Ignore the custom columns.- 参数:
excludeColumnIndexes- Collection- 返回:
- ExcelWriterTableBuilder
-
excludeColumnFiledNames
Ignore the custom columns.- 参数:
excludeColumnFiledNames- Collection- 返回:
- ExcelWriterTableBuilder
-
includeColumnIndexes
Only output the custom columns.- 参数:
includeColumnIndexes- Collection- 返回:
- ExcelWriterTableBuilder
-
includeColumnFiledNames
Only output the custom columns.- 参数:
includeColumnFiledNames- Collection- 返回:
- ExcelWriterTableBuilder
-
build
-
doWrite
-