Home | History | Annotate | Download | only in src

Lines Matching refs:File

5  * you may not use this file except in compliance with the License.
17 import java.io.File;
33 * Generates an Eclipse .classpath file from the given configuration.
42 * If the user has a file named "path-precedence" in their project's
44 * regular expressions in that file. Source roots that match earlier
45 * patterns will come sooner in configuration file.
49 File precedence = new File("path-precedence");
67 OUTER: for (File sourceRoot : c.sourceRoots) {
79 // Output source roots to configuration file.
81 for (File sourceRoot : bucket.sourceRoots) {
95 for (File jar : c.jarFiles) {
109 Files.toFile(classpath.toString(), new File(".classpath"));
116 private static CharSequence constructExcluding(File sourceRoot,
122 SortedSet<File> nextRoots = c.sourceRoots.tailSet(sourceRoot);
124 for (File nextRoot : nextRoots) {
146 SortedSet<File> excludedDirs = c.excludedDirs.tailSet(sourceRoot);
147 for (File excludedDir : excludedDirs) {
168 private static String trimmed(File file) {
169 return file.getPath().substring(2);
178 private final List<File> sourceRoots = new ArrayList<File>();