Class PropertiesConfiguration.JupPropertiesWriter
- java.lang.Object
-
- java.io.Writer
-
- java.io.FilterWriter
-
- org.apache.commons.configuration2.PropertiesConfiguration.PropertiesWriter
-
- org.apache.commons.configuration2.PropertiesConfiguration.JupPropertiesWriter
-
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
- Enclosing class:
- PropertiesConfiguration
public static class PropertiesConfiguration.JupPropertiesWriter extends PropertiesConfiguration.PropertiesWriter
APropertiesConfiguration.PropertiesWriterthat tries to mimic the behavior ofProperties.- Since:
- 2.4
-
-
Field Summary
-
Fields inherited from class java.io.FilterWriter
out
-
-
Constructor Summary
Constructors Constructor Description JupPropertiesWriter(Writer writer, ListDelimiterHandler delHandler, boolean escapeUnicode)Creates a new instance ofJupPropertiesWriter.
-
Method Summary
-
Methods inherited from class org.apache.commons.configuration2.PropertiesConfiguration.PropertiesWriter
escapeKey, fetchSeparator, getCurrentSeparator, getDelimiterHandler, getGlobalSeparator, getLineSeparator, setCurrentSeparator, setGlobalSeparator, setLineSeparator, writeComment, writeln, writeProperty, writeProperty, writeProperty
-
-
-
-
Constructor Detail
-
JupPropertiesWriter
public JupPropertiesWriter(Writer writer, ListDelimiterHandler delHandler, boolean escapeUnicode)
Creates a new instance ofJupPropertiesWriter.- Parameters:
writer- a Writer object providing the underlying streamdelHandler- the delimiter handler for dealing with properties with multiple valuesescapeUnicode- whether Unicode characters should be escaped using Unicode escapes
-
-