Example usage for org.apache.commons.configuration2 MapConfiguration subclass-usage

List of usage examples for org.apache.commons.configuration2 MapConfiguration subclass-usage

Introduction

In this page you can find the example usage for org.apache.commons.configuration2 MapConfiguration subclass-usage.

Usage

From source file org.dspace.servicemanager.config.DSpaceEnvironmentConfiguration.java

/**
 * Bash does not allow environment variables that contain dots in their name.
 * This Configuration loads environment variables that contains two underlines
 * and replaces "__P__" -> "." and "__D__" -> "-"
 * E.g.: dspace__P__baseUrl will be read as dspace.baseUrl.
 * E.g.: my__D__dspace__P__prop will be read as my-dspace.prop.