|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectproguard.ConfigurationWriter
This class writes ProGuard configurations to a file.
| Constructor Summary | |
ConfigurationWriter(OutputStream outputStream)
Creates a new ConfigurationWriter for the given OutputStream. |
|
ConfigurationWriter(PrintWriter writer)
Creates a new ConfigurationWriter for the given PrintWriter. |
|
ConfigurationWriter(String configurationFile)
Creates a new ConfigurationWriter for the given file name. |
|
| Method Summary | |
void |
close()
Closes this ConfigurationWriter. |
static void |
main(String[] args)
A main method for testing configuration writing. |
void |
write(Configuration configuration)
Writes the given configuration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConfigurationWriter(String configurationFile)
throws IOException
public ConfigurationWriter(OutputStream outputStream)
throws IOException
public ConfigurationWriter(PrintWriter writer)
throws IOException
| Method Detail |
public void close()
throws IOException
IOException
public void write(Configuration configuration)
throws IOException
configuration - the configuration that is to be written out.
IOException - if an IO error occurs while writing the configuration.public static void main(String[] args)
|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||