public class PropertiesXMLWriter extends Object implements PropertiesWriter
PropertiesFormat XML writer.| Constructor and Description |
|---|
PropertiesXMLWriter(OutputStream out)
Creates a new
PropertiesXMLWriter that will write to the supplied
OutputStream. |
PropertiesXMLWriter(Writer writer)
Creates a new
PropertiesXMLWriter that will write to the supplied
Writer. |
| Modifier and Type | Method and Description |
|---|---|
PropertiesFormat |
getFormat()
Gets the
PropertiesFormat that this PropertiesWriter
uses. |
void |
write(Properties properties)
Write the properties object.
|
public PropertiesXMLWriter(OutputStream out)
PropertiesXMLWriter that will write to the supplied
OutputStream.out - The OutputStream to write the Properties document to.public PropertiesXMLWriter(Writer writer)
PropertiesXMLWriter that will write to the supplied
Writer.writer - The Writer to write the Properties document
to.public PropertiesFormat getFormat()
PropertiesWriterPropertiesFormat that this PropertiesWriter
uses.getFormat in interface PropertiesWriterpublic void write(Properties properties) throws IOException
PropertiesWriterwrite in interface PropertiesWriterIOExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.