com.alibaba.excel.write

接口 ExcelBuilder

  • 所有已知实现类:
    ExcelBuilderImpl

    public interface ExcelBuilder
    作者:
    jipengfei
    • 方法详细资料

      • addContent

        void addContent(Collection<?> data,
                        WriteSheet writeSheet,
                        WriteTable writeTable)
        WorkBook increase value
        参数:
        data - java basic type or java model extend BaseModel
        writeSheet - Write the sheet
        writeTable - Write the table
      • fill

        void fill(Object data,
                  FillConfig fillConfig,
                  WriteSheet writeSheet)
        WorkBook fill value
        参数:
        data -
        fillConfig -
        writeSheet -
      • merge

        @Deprecated
        void merge(int firstRow,
                               int lastRow,
                               int firstCol,
                               int lastCol)
        已过时。  please useOnceAbsoluteMergeStrategy
        Creates new cell range. Indexes are zero-based.
        参数:
        firstRow - Index of first row
        lastRow - Index of last row (inclusive), must be equal to or larger than firstRow
        firstCol - Index of first column
        lastCol - Index of last column (inclusive), must be equal to or larger than firstCol
      • writeContext

        WriteContext writeContext()
        Gets the written data
        返回:
      • finish

        void finish(boolean onException)
        Close io
        参数:
        onException -

Copyright © 2018–2021 Alibaba Group. All rights reserved.