|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectproguard.ConfigurationParser
This class parses ProGuard configurations. Configurations can be read from an array of arguments or from a configuration file or URL.
| Constructor Summary | |
ConfigurationParser(String fileName)
Creates a new ConfigurationParser for the given file name. |
|
ConfigurationParser(String[] args)
Creates a new ConfigurationParser for the given String arguments. |
|
ConfigurationParser(URL url)
Creates a new ConfigurationParser for the given URL. |
|
| Method Summary | |
static void |
main(String[] args)
A main method for testing configuration parsing. |
void |
parse(Configuration configuration)
Parses and returns the configuration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConfigurationParser(String[] args)
throws IOException
public ConfigurationParser(String fileName)
throws IOException
public ConfigurationParser(URL url)
throws IOException
| Method Detail |
public void parse(Configuration configuration)
throws ParseException,
IOException
configuration - the configuration that is updated as a side-effect.
ParseException - if the any of the configuration settings contains
a syntax error.
IOException - if an IO error occurs while reading a configuration.public static void main(String[] args)
|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||