com.neeve.util
Class UtlStr.SubstResolverFromEnv

java.lang.Object
  extended by com.neeve.util.UtlStr.SubstResolverFromEnv
All Implemented Interfaces:
UtlStr.ISubstResolver, UtlTailoring.PropertySource
Enclosing class:
UtlStr

public static final class UtlStr.SubstResolverFromEnv
extends Object
implements UtlStr.ISubstResolver

A ISubstResolver implementation that pulls values from UtlEnv.


Constructor Summary
UtlStr.SubstResolverFromEnv()
           
 
Method Summary
 String getValue(String variable, String defValue)
          Returns a replacement property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtlStr.SubstResolverFromEnv

public UtlStr.SubstResolverFromEnv()
Method Detail

getValue

public final String getValue(String variable,
                             String defValue)
Description copied from interface: UtlTailoring.PropertySource
Returns a replacement property.

Specified by:
getValue in interface UtlTailoring.PropertySource
Parameters:
variable - The key.
defValue - default value to return of replacement isn't available
Returns:
the replacement value or null if none exists.


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.