package edu.qdgxy.util;
import jxl.Cell;
import jxl.Sheet;
import java.io.File;
import java.io.InputStream;
import java.io.Serializable;
import java.util.Vector;
import java.io.FileInputStream;
import org.apache.struts2.ServletActionContext;
import jxl.Workbook;
/**
* 耗时315.469秒 jxl.jar excel导入SQL 包 耗时131.469秒 耗时125.448秒(系数6000)
*/
public class ExcelRead2 implements Serializable{
public static void main(String[] args) {
ExcelRead2 cr = new ExcelRead2();
long start = System.currentTimeMillis();// 记录开始时间
cr.readExcel();// 开始执行
long end = System.currentTimeMillis();
System.out.println("============耗時:====" + ((end - start) / 1000.0));
}
public
java读取excel
最新推荐文章于 2024-05-01 17:58:41 发布