package io.dropwizard.configuration;

import org.apache.commons.text.lookup.StringLookup;

A custom StringLookup implementation using environment variables as lookup source.
/** * A custom {@link StringLookup} implementation using environment variables as lookup source. */
public class EnvironmentVariableLookup implements StringLookup {
{@inheritDoc}
/** * {@inheritDoc} */
@Override public String lookup(String key) { return System.getenv(key); } }