展开全部
/**
*
*只对32313133353236313431303231363533e4b893e5b19e31333335303465你的Excel 有效,其他不能保证
* 示例代码,不能直接用到生产环境
/
package readExcel;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.DateUtil;
import org.apache.poi.ss.usermodel.Row;
public class ReadXLSTools {
List result = new ArrayList();
Row firstRow;
Row secondRow;
/**
*
* @param path
* --tell us where is the xls f