Annotation Interface EnableExcelUtils


@Target(TYPE) @Retention(RUNTIME) @Import(ExcelUtilsAutoConfiguration.class) public @interface EnableExcelUtils
对于导入导出组件,启用自定义异常处理器的支持
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
    int
    能并行执行多少个导入任务 防止内存溢出 初始化后会赋值给ExcelUtilsConfig
    int
    临时文件的保留寿命 单位分钟 初始化后会赋值给ExcelUtilsConfig
  • Element Details

    • customExceptions

      Class[] customExceptions
      Default:
      {}
    • importMaxParallel

      int importMaxParallel
      能并行执行多少个导入任务 防止内存溢出 初始化后会赋值给ExcelUtilsConfig
      Default:
      2
    • tempFileLifeMinutes

      int tempFileLifeMinutes
      临时文件的保留寿命 单位分钟 初始化后会赋值给ExcelUtilsConfig
      Default:
      5