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

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

Introduction

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

Prototype

public ListDelimiterHandler getListDelimiterHandler() 

Source Link

Document

Returns the ListDelimiterHandler used by this instance.

Usage

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

/**
 * Loads a Configuration into this Configurator.
 *//*from w  ww.j a va2 s. c  o  m*/
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;
}