⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 excel.java

📁 使用WEBWORK,SPRING,HIBERNATE编写的简单的添加
💻 JAVA
字号:
/**
 *文件功能: 
 */
package com.common.util;

import java.util.List;

/**
 * 导出excel所需的数据
 * @作者 徐建协
 * @日期 Apr 7, 2008
 */
public class Excel {
	/*************
	 * 标题
	 */
	private String title;
	
	/****************
	 * 要获取的列名,属性名
	 */
	private String[] getterNames;
	
	/************
	 * 列名称
	 */
	private String[] colNames;
	
	/**********
	 * 要导出的数据
	 */
	private List list;

	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String[] getGetterNames() {
		return getterNames;
	}
	public void setGetterNames(String[] getterNames) {
		this.getterNames = getterNames;
	}
	public String[] getColNames() {
		return colNames;
	}
	public void setColNames(String[] colNames) {
		this.colNames = colNames;
	}
	public List getList() {
		return list;
	}
	public void setList(List list) {
		this.list = list;
	}
	
	
	
	

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -