java实现读取excel或者txt文件,导入MongoDB数据库

在工作中经常遇到读取的文件的问题,于是做了一个小总结。 1.Excel表格内容如下 2.创建main主类 public static void main(String[] args) throws Exception {         ReadExcel read = new ReadExcel();         File file = new File("D:/test/c.xls");
相关文章
相关标签/搜索