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()
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.