com.neeve.util
Class UtlStr.SubstResolverFromEnv
java.lang.Object
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
.
UtlStr.SubstResolverFromEnv
public UtlStr.SubstResolverFromEnv()
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.