| | |
| | | } |
| | | |
| | | |
| | | public static void main(String[] args) { |
| | | |
| | | // File file = new File("D:\\anbao"); |
| | | // if (file.exists()) { |
| | | // File[] files = file.listFiles(); |
| | | // if (null == files || files.length == 0) { |
| | | // System.out.println("文件夹是空的!"); |
| | | // return; |
| | | // } else { |
| | | // for (File file2 : files) { |
| | | // if (file2.isDirectory()) { |
| | | // System.out.println("文件夹:" + file2.getAbsolutePath()); |
| | | // } else { |
| | | // System.out.println("文件:" + file2.getAbsolutePath()); |
| | | // String urls = file2.getAbsolutePath(); |
| | | // String s = OutJson.TestJsons(urls); |
| | | // //sql语句 |
| | | // String sql = OutJson.stringReplace(s); |
| | | // System.out.println(sql); |
| | | // } |
| | | // } |
| | | // } |
| | | // } else { |
| | | // System.out.println("文件不存在!"); |
| | | // } |
| | | } |
| | | |
| | | } |