public class PropertiesTextWriter extends Object implements PropertiesWriter
PropertiesFormat.TEXT
writer.Constructor and Description |
---|
PropertiesTextWriter(OutputStream out)
Creates a new
PropertiesTextWriter that will write to the
supplied OutputStream . |
PropertiesTextWriter(Writer writer)
Creates a new
PropertiesTextWriter 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 PropertiesTextWriter(OutputStream out)
PropertiesTextWriter
that will write to the
supplied OutputStream
.out
- The OutputStream to write the Properties
document to.public PropertiesTextWriter(Writer writer)
PropertiesTextWriter
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.