类 ExcelDropDownUtil
java.lang.Object
com.sie.mbm.mom.framework.excel.util.ExcelDropDownUtil
Excel 工具类
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明类属性转成mapstatic OutputStreamgetOutputStream(ContentTypeEnum contentTypeEnum, String fileName) 配置文件流static OutputStreamgetOutputStream(jakarta.servlet.http.HttpServletResponse response, ContentTypeEnum contentTypeEnum, String fileName) 配置文件流static voidwrite(DropDownExcelDTO dto) 导出文件static voidwrite(DropDownExcelDTO dto, List<List<String>> headList) 自定义列名static void导出多sheet文件
-
字段详细资料
-
UTF8
- 另请参阅:
-
-
构造器详细资料
-
ExcelDropDownUtil
public ExcelDropDownUtil()
-
-
方法详细资料
-
write
导出文件- 参数:
dto-- 抛出:
IOException
-
getOutputStream
public static OutputStream getOutputStream(jakarta.servlet.http.HttpServletResponse response, ContentTypeEnum contentTypeEnum, String fileName) throws IOException 配置文件流- 参数:
response- HttpServletResponsecontentTypeEnum- 文件类型fileName- 文件名- 返回:
- 抛出:
IOException
-
getOutputStream
public static OutputStream getOutputStream(ContentTypeEnum contentTypeEnum, String fileName) throws IOException 配置文件流- 参数:
contentTypeEnum- 文件类型fileName- 文件名- 返回:
- 抛出:
IOException
-
getFields
类属性转成map- 参数:
fields- 类属性- 返回:
- 抛出:
IOException
-
write
导出多sheet文件- 参数:
dto-- 抛出:
IOException
-
write
自定义列名- 参数:
dto-headList- 自定义列名- 抛出:
IOException
-