Class PropertiesIOFactory
java.lang.Object
org.apache.commons.configuration2.PropertiesConfiguration.DefaultIOFactory
de.aristaflow.adept2.util.configuration.PropertiesIOFactory
- All Implemented Interfaces:
PropertiesConfiguration.IOFactory
The factory of the readers and writers of properties files, whose writer keeps the characters
outside the Basic Multilingual Plane. The writer of the library escapes such a character as one
Unicode escape of all hex digits of its code point, of which its reader takes four, so that it
reads the character of the first four digits followed by the remaining ones. This writer escapes
such a character as the two Unicode escapes of its surrogate pair, as
java.util.Properties does, and every other character as the library does.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PropertiesIOFactoryThe instance of this factory, which has no state. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePropertiesWriter(Writer out, ListDelimiterHandler handler) Methods inherited from class org.apache.commons.configuration2.PropertiesConfiguration.DefaultIOFactory
createPropertiesReader
-
Field Details
-
INSTANCE
The instance of this factory, which has no state.
-
-
Constructor Details
-
PropertiesIOFactory
public PropertiesIOFactory()
-
-
Method Details
-
createPropertiesWriter
public PropertiesConfiguration.PropertiesWriter createPropertiesWriter(Writer out, ListDelimiterHandler handler) - Specified by:
createPropertiesWriterin interfacePropertiesConfiguration.IOFactory- Overrides:
createPropertiesWriterin classPropertiesConfiguration.DefaultIOFactory
-