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()
PropertiesWriter
PropertiesFormat
that this PropertiesWriter
uses.getFormat
in interface PropertiesWriter
public void write(Properties properties) throws IOException
PropertiesWriter
write
in interface PropertiesWriter
IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.