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

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

Introduction

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

Prototype

public synchronized StrSubstitutor getSubstitutor() 

Source Link

Document

Returns the object that is responsible for variable interpolation.

Usage

From source file:org.seedstack.seed.core.internal.application.JsonLookup.java

/**
 * Creates the lookup.//from w w  w .j  a v  a  2 s .c  o m
 *
 * @param configuration the actual configuration.
 */
public JsonLookup(AbstractConfiguration configuration) {
    this.interpolator = configuration.getInterpolator();
    this.substitutor = configuration.getSubstitutor();
}