/**
* TODO : 读取文件access
* @param filePath
* @return
* @throws ClassNotFoundException
*/
public static List readFileACCESS(String filePath) {
List maplist= new ArrayList();
Properties prop = new Properties();
prop.put("charSet", "gb2312"); //这里是解决中文乱码
prop.put("user", "");
prop.put("password", "");
String url="jdbc:odbc:driver={Microsoft Access Driver (*.mdb)};DBQ="+filePath; //文件地址
PreparedStatement ps=null;
Statement stmt=null;
ResultSet rs=null;
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection conn=DriverManager.getConnection(url,prop);
stmt = (Statement)conn.createStatement();
rs=stmt.executeQuery("select * from Chi