org.aspectj.ajdt.ajc
Class ConfigParser

java.lang.Object
  extended by org.aspectj.ajdt.ajc.ConfigParser
Direct Known Subclasses:
LstBuildConfigFileParser

public class ConfigParser
extends java.lang.Object


Nested Class Summary
protected static class ConfigParser.Arg
           
static class ConfigParser.ParseException
           
 
Field Summary
protected static java.lang.String CONFIG_MSG
           
protected  java.util.List<java.io.File> files
           
protected  java.io.File relativeDirectory
           
protected  java.util.List<java.io.File> xmlfiles
           
 
Constructor Summary
ConfigParser()
           
 
Method Summary
protected  void addFile(java.io.File sourceFile)
          ??? We would like to call a showNonFatalError method here to show all errors in config files before aborting the compilation
protected  void addXmlFile(java.io.File xmlFile)
           
 java.util.List<java.io.File> getFiles()
           
 java.util.List<java.io.File> getXmlFiles()
           
 java.io.File makeFile(java.lang.String name)
           
 void parseCommandLine(java.lang.String[] argsArray)
           
 void parseConfigFile(java.io.File configFile)
           
protected  void parseImportedConfigFile(java.lang.String relativeFilePath)
           
protected  void parseOption(java.lang.String arg, java.util.LinkedList args)
           
protected  ConfigParser.Arg removeArg(java.util.LinkedList args)
           
protected  java.lang.String removeStringArg(java.util.LinkedList args)
           
protected  void showError(java.lang.String message)
           
protected  void showWarning(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

relativeDirectory

protected java.io.File relativeDirectory

files

protected java.util.List<java.io.File> files

xmlfiles

protected java.util.List<java.io.File> xmlfiles

CONFIG_MSG

protected static java.lang.String CONFIG_MSG
Constructor Detail

ConfigParser

public ConfigParser()
Method Detail

getFiles

public java.util.List<java.io.File> getFiles()

getXmlFiles

public java.util.List<java.io.File> getXmlFiles()

parseCommandLine

public void parseCommandLine(java.lang.String[] argsArray)
                      throws ConfigParser.ParseException
Throws:
ConfigParser.ParseException

parseConfigFile

public void parseConfigFile(java.io.File configFile)
                     throws ConfigParser.ParseException
Throws:
ConfigParser.ParseException

addFile

protected void addFile(java.io.File sourceFile)
??? We would like to call a showNonFatalError method here to show all errors in config files before aborting the compilation


addXmlFile

protected void addXmlFile(java.io.File xmlFile)

parseOption

protected void parseOption(java.lang.String arg,
                           java.util.LinkedList args)

showWarning

protected void showWarning(java.lang.String message)

showError

protected void showError(java.lang.String message)

removeArg

protected ConfigParser.Arg removeArg(java.util.LinkedList args)

removeStringArg

protected java.lang.String removeStringArg(java.util.LinkedList args)

parseImportedConfigFile

protected void parseImportedConfigFile(java.lang.String relativeFilePath)

makeFile

public java.io.File makeFile(java.lang.String name)