首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 企业软件 > 行业软件 >

jxl 作的报表通用方法

2012-10-09 
jxl 做的报表通用方法?ExcelUtilTool.java?ExcelExportInfo.java?package com.sobey.pms.util.excelimpor

jxl 做的报表通用方法

?

ExcelUtilTool.java

?ExcelExportInfo.java

?

package com.sobey.pms.util.excel;import java.util.List;public class ExcelExportInfo {private List datas;private String columnHeader[];private String feilds[];private String footer[][];private String title;private int width[];private String fileName = "ExcelExport.xls";public String[] getColumnHeader() {return columnHeader;}public void setColumnHeader(String[] columnHeader) {this.columnHeader = columnHeader;}public void setColumnHeader(String columnHeaders) {if (columnHeaders != null)this.columnHeader = columnHeaders.split(",");elsethis.columnHeader = null;}public List getDatas() {return datas;}public void setDatas(List datas) {this.datas = datas;}public String[] getFeilds() {return feilds;}public void setFeilds(String[] feilds) {this.feilds = feilds;}public void setFeilds(String feilds) {if (feilds != null)this.feilds = feilds.split(",");elsethis.feilds = null;}public String[][] getFooter() {return footer;}public void setFooter(String[][] footer) {this.footer = footer;}public int[] getWidth() {return width;}public void setWidth(int[] width) {this.width = width;}public String getTitle() {return title;}public void setTitle(String title) {this.title = title;}public String getFileName() {return fileName;}public void setFileName(String fileName) {this.fileName = fileName;}}

?

?

?

热点排行