Enum Class ExcelWritePolicy

java.lang.Object
java.lang.Enum<ExcelWritePolicy>
cn.toutatis.xvoid.axolotl.excel.writer.support.ExcelWritePolicy
所有已实现的接口:
Serializable, Comparable<ExcelWritePolicy>, Constable

public enum ExcelWritePolicy extends Enum<ExcelWritePolicy>
Excel写入策略
作者:
Toutatis_Gc
  • 枚举常量详细资料

    • AUTO_CATCH_COLUMN_LENGTH

      public static final ExcelWritePolicy AUTO_CATCH_COLUMN_LENGTH
      自动计算列长度
    • AUTO_INSERT_SERIAL_NUMBER

      public static final ExcelWritePolicy AUTO_INSERT_SERIAL_NUMBER
      自动在第一列插入编号
    • AUTO_FILL_DEFAULT_CELL_WHITE

      public static final ExcelWritePolicy AUTO_FILL_DEFAULT_CELL_WHITE
      默认填充单元格为白色
    • AUTO_INSERT_TOTAL_IN_ENDING

      public static final ExcelWritePolicy AUTO_INSERT_TOTAL_IN_ENDING
      自动在结尾插入合计行
    • TEMPLATE_SHIFT_WRITE_ROW

      public static final ExcelWritePolicy TEMPLATE_SHIFT_WRITE_ROW
      数据写入时,自动将数据写入到下一行 不会影响原有模板数据的位置
    • TEMPLATE_PLACEHOLDER_FILL_DEFAULT

      public static final ExcelWritePolicy TEMPLATE_PLACEHOLDER_FILL_DEFAULT
      为没有指定的占位符填充默认值
    • TEMPLATE_NULL_VALUE_WITH_TEMPLATE_FILL

      public static final ExcelWritePolicy TEMPLATE_NULL_VALUE_WITH_TEMPLATE_FILL
      空值是否使用模板填充 true:使用模板填充 false:填充为空单元格
    • TEMPLATE_NON_TEMPLATE_CELL_FILL

      public static final ExcelWritePolicy TEMPLATE_NON_TEMPLATE_CELL_FILL
      非模板单元格是否模板填充 true:填充为单元格同样数据 false:该列为空
    • SIMPLE_EXCEPTION_RETURN_RESULT

      public static final ExcelWritePolicy SIMPLE_EXCEPTION_RETURN_RESULT
      是否抛出异常 true:返回写入结果 false:抛出异常
  • 方法详细资料

    • values

      public static ExcelWritePolicy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ExcelWritePolicy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值