Lines Matching refs:files
25 //the directory containing the directories and files from which to remove version information
53 File [] files = file.listFiles();
55 for (int i=0; i<files.length; i++){
56 String absolutePath = files[i].getAbsolutePath();
58 - files[i].getName().length());
60 int underScorePos = files[i].getName().indexOf("_");
61 int jarExtPos = files[i].getName().indexOf(".jar");
66 + files[i].getName().substring(0, underScorePos)
70 + files[i].getName().substring(0, underScorePos);
72 files[i].renameTo(new File(targetPath));