public class XMLConfigurationWriter extends Object implements IConfigurationWriter
| Constructor and Description |
|---|
XMLConfigurationWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(Configuration configuration,
String outputFile)
Write the configuration object to outputFile detecting the format from outputFile extension
|
void |
write(Configuration configuration,
String outputFile,
String format)
Write the configuration object to outputFile in the given format
|
public void write(Configuration configuration, String outputFile, String format) throws IOException
IConfigurationWriterwrite in interface IConfigurationWriterconfiguration - object to be WrittenoutputFile - to write the configuration object toformat - of the outputFileIOException - if the output file can not be createdpublic void write(Configuration configuration, String outputFile) throws IOException
IConfigurationWriterwrite in interface IConfigurationWriterconfiguration - object to be WrittenoutputFile - to write the configuration object toIOException - if the output file can not be createdCopyright © 2018. All rights reserved.