1 2 25 26 package org.aspectj.ajde.internal; 27 28 import java.util.*; 29 import java.io.*; 30 import org.aspectj.asm.*; 31 import org.aspectj.ajde.*; 32 import org.aspectj.util.ConfigParser; 33 34 37 public class LstBuildConfigFileParser extends ConfigParser { 38 39 private List importedFiles = new ArrayList(); 40 private List problemEntries = new ArrayList(); 41 42 private String currFilePath; 43 44 public LstBuildConfigFileParser(String currFilePath) { 45 this.currFilePath = currFilePath; 46 } 47 48 protected void showWarning(String message) { 49 problemEntries.add(message); 50 } 51 52 protected void parseImportedConfigFile(String relativeFilePath) { 53 importedFiles.add(makeFile(relativeFilePath)); 54 super.files.add(new File(relativeFilePath)); 55 super.parseImportedConfigFile(relativeFilePath); 56 } 57 58 protected void showError(String message) { 59 problemEntries.add(message); 60 } 61 62 public List getImportedFiles() { 63 return importedFiles; 64 } 65 66 public List getProblemEntries() { 67 return problemEntries; 68 } 69 } 70 71 72 73 | Popular Tags |