public static class PropertiesConfiguration.DefaultIOFactory extends Object implements PropertiesConfiguration.IOFactory
A default implementation of the
This class implements the
createXXXX() methods defined by
IOFactory interface in a way that the default objects
returned. Customizing either the reader or the writer (or both) can be
done by extending this class and overriding the corresponding
|Constructor and Description|
|Modifier and Type||Method and Description|
PropertiesReaderfor reading a properties file. This method is called whenever the
PropertiesConfigurationis loaded. The reader returned by this method is then used for parsing the properties file.
public PropertiesConfiguration.PropertiesWriter createPropertiesWriter(Writer out, ListDelimiterHandler handler)
PropertiesWriterfor writing a properties file. This method is called before the
PropertiesConfigurationis saved. The writer returned by this method is then used for writing the properties file.
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.