package com.taover.bazhuayun.analysis.script.goodscollect; import java.io.File; import java.util.ArrayList; import java.util.List; import com.taover.bazhuayun.analysis.util.ExcelUtil; public class GroupInfoExcelData { private GroupInfoExcelDataHeader header; private List rowList = new ArrayList(); public void load(String groupInfoFilePath) throws Exception { if(groupInfoFilePath == null) { throw new Exception("groupInfoFilePath is null"); } File groupInfoFile = new File(groupInfoFilePath); if(!groupInfoFile.exists()) { throw new Exception("groupinfofile not exists"); } List> data = ExcelUtil.readExcelSheet(groupInfoFile, false); if(data.size() > 0) { header = new GroupInfoExcelDataHeader(data.get(0)); } for(int i=1; i