All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kangaroohy.plugin.excel.handler.SheetWriteHandler Maven / Gradle / Ivy

There is a newer version: 3.1.3
Show newest version
package com.kangaroohy.plugin.excel.handler;

import com.kangaroohy.plugin.excel.annotation.ResponseExcel;

import jakarta.servlet.http.HttpServletResponse;

/**
 * @author hy
 * @date 2020/3/29
 * 

* sheet 写出处理器 */ public interface SheetWriteHandler { /** * 是否支持 * @param obj * @return */ boolean support(Object obj); /** * 校验 * @param responseExcel 注解 */ void check(ResponseExcel responseExcel); /** * 返回的对象 * @param o obj * @param response 输出对象 * @param responseExcel 注解 */ void export(Object o, HttpServletResponse response, ResponseExcel responseExcel); /** * 写成对象 * @param o obj * @param response 输出对象 * @param responseExcel 注解 */ void write(Object o, HttpServletResponse response, ResponseExcel responseExcel); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy