Lines Matching refs:file

4  * you may not use this file except in compliance with the License.
43 * and writes the information into an annotated class file for the annotation
83 for (File file : files) {
84 File parent = file.getParentFile();
86 callback.processOtherRootFile(file);
88 callback.processLayoutFile(file);
90 callback.processOtherFile(parent, file);
98 for (File file : files) {
99 File parent = file.getParentFile();
101 callback.processRemovedOtherRootFile(file);
103 callback.processRemovedLayoutFile(file);
105 callback.processRemovedOtherFile(parent, file);
125 for (File file : firstLevel.listFiles()) {
126 callback.processOtherFile(firstLevel, file);
152 private File convertToOutFile(File file) {
154 .relativize(file.toURI()).getPath());
158 public void processLayoutFile(File file)
161 final File output = convertToOutFile(file);
163 .parseXml(file, output, mResourceBundle.getAppPackage(), mOriginalFileLookup);
170 public void processOtherFile(File parentFolder, File file) throws IOException {
172 FileUtils.copyFile(file, new File(outParent, file.getName()));
176 public void processRemovedLayoutFile(File file) {
177 mResourceBundle.addRemovedFile(file);
178 final File out = convertToOutFile(file);
183 public void processRemovedOtherFile(File parentFolder, File file) throws IOException {
185 FileUtils.deleteQuietly(new File(outParent, file.getName()));
201 public void processOtherRootFile(File file) throws IOException {
202 final File outFile = convertToOutFile(file);
203 if (file.isDirectory()) {
204 FileUtils.copyDirectory(file, outFile);
206 FileUtils.copyFile(file, outFile);
211 public void processRemovedOtherRootFile(File file) throws IOException {
212 final File outFile = convertToOutFile(file);
242 for (File file : mResourceBundle.getRemovedFiles()) {
243 String exportFileName = generateExportFileName(file);
267 private static String generateExportFileName(File file) {
268 final String fileName = file.getName();
270 file.getParentFile().getName());
333 * @param file The intermediate build file
334 * @return The original file or null if original File cannot be found.
336 File getOriginalFileFor(File file);
357 public void added(File file) {
358 mAdded.add(file);
360 public void removed(File file) {
361 mRemoved.add(file);
363 public void changed(File file) {
364 mChanged.add(file);
411 for (File file : files) {
412 out.append("\n - ").append(file.getAbsolutePath());
418 void processLayoutFile(File file)
421 void processOtherFile(File parentFolder, File file) throws IOException;
422 void processRemovedLayoutFile(File file);
423 void processRemovedOtherFile(File parentFolder, File file) throws IOException;
429 void processOtherRootFile(File file) throws IOException;
431 void processRemovedOtherRootFile(File file) throws IOException;