Example usage for org.apache.commons.configuration2 AbstractConfiguration setListDelimiterHandler

List of usage examples for org.apache.commons.configuration2 AbstractConfiguration setListDelimiterHandler

Introduction

In this page you can find the example usage for org.apache.commons.configuration2 AbstractConfiguration setListDelimiterHandler.

Prototype

public void setListDelimiterHandler(final ListDelimiterHandler listDelimiterHandler) 

Source Link

Document

Sets the ListDelimiterHandler to be used by this instance.

Usage

From source file:org.powertac.common.config.Configurator.java

/**
 * Loads a Configuration into this Configurator.
 *///from   ww w  . jav a2  s. c  om
public void setConfiguration(AbstractConfiguration config) {
    // https://commons.apache.org/proper/commons-configuration/userguide/upgradeto2_0.html
    if (config.getListDelimiterHandler() instanceof DisabledListDelimiterHandler) {
        config.setListDelimiterHandler(listDelimiterHandler);
    }
    this.config = config;
}