
cn.gjing.excel.ExcelUtil Maven / Gradle / Ivy
The newest version!
package cn.gjing.excel;
import cn.gjing.annotation.ExcludeParam;
import cn.gjing.annotation.NotNull;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* @author Gjing
**/
public class ExcelUtil {
/**
* Excel export
*
* @param response response
* @param list Data that needs to be exported
* @param headers excel headers
* @param title Excel file name
* @param info Excel introduction, Pass null or "" if you don't need it
*/
@NotNull
public static void excelExport(HttpServletResponse response, @ExcludeParam List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy