20. return; 21. } 22. int length = list.size(); 23. for (int i = 0; i < length; i++) 24. { 25. String result = ""; 26. String thePath = getFormatPath(getString(list.get(i))); 27. File file = new File(thePath); 论文网 28. if (file.isDirectory()) 29. { 30. String fileName = file.getName(); 31. if (fileName.indexOf("_") < 0) 32. { 33. print(thePath); 34. continue; 35. } 36. String[] filenames = fileName.split("_"); 37. String filename1 = filenames[0]; 38. String filename2 = filenames[1]; 39. result = filename1 + "," + filename2 + ",file:/" + path + "/" 40. + fileName + "//,4,false"; 41. System.out.println(result); 42. } else if (file.isFile()) 43. { 44. String fileName = file.getName(); 45. 上一页 [1] [2] [3] [4] [5] [6] [7] 下一页
|