Definition of an interface that controls the handling of list delimiters in configuration properties.
{@link org.apache.commons.configuration2.AbstractConfiguration AbstractConfiguration} supports list delimiters in property values. If such adelimiter is found, the value actually contains multiple values and has to be split. This is useful for instance for {@link org.apache.commons.configuration2.PropertiesConfiguration PropertiesConfiguration}: properties files that have to be compatible with the {@code java.util.Properties} class cannot have multiple occurrences of asingle property key, therefore a different storage scheme for multi-valued properties is needed. A possible storage scheme could look as follows:
myProperty=value1,value2,value3Here a comma is used as list delimiter. When parsing this property (and using a corresponding {@code ListDelimiterHandler} implementation) the string valueis split, and three values are added for the property key.
A {@code ListDelimiterHandler} knows how to parse and to escape propertyvalues. It is called by concrete {@code Configuration} implementations whenthey have to deal with properties with multiple values.
@version $Id: ListDelimiterHandler.java 1624601 2014-09-12 18:04:36Z oheger $ @since 2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|