Example usage for org.apache.commons.configuration AbstractConfiguration getListDelimiter

List of usage examples for org.apache.commons.configuration AbstractConfiguration getListDelimiter

Introduction

In this page you can find the example usage for org.apache.commons.configuration AbstractConfiguration getListDelimiter.

Prototype

public char getListDelimiter() 

Source Link

Document

Retrieve the delimiter for this configuration.

Usage

From source file:org.apache.accumulo.core.client.ClientConfiguration.java

public ClientConfiguration(List<? extends Configuration> configs) {
    super(configs);
    // Don't do list interpolation
    this.setListDelimiter('\0');
    for (Configuration c : configs) {
        if (c instanceof AbstractConfiguration) {
            AbstractConfiguration abstractConfiguration = (AbstractConfiguration) c;
            if (!abstractConfiguration.isDelimiterParsingDisabled()
                    && abstractConfiguration.getListDelimiter() != '\0') {
                log.warn(//from   ww w  .j  a v  a  2 s.  c  o m
                        "Client configuration constructed with a Configuration that did not have list delimiter disabled or overridden, multi-valued config "
                                + "properties may be unavailable");
                abstractConfiguration.setListDelimiter('\0');
            }
        }
    }
}