public class SystemProfileValueSource extends java.lang.Object implements ProfileValueSource
ProfileValueSource
which uses system properties as
the underlying source.Modifier and Type | Method and Description |
---|---|
java.lang.String |
get(java.lang.String key)
Get the profile value indicated by the specified key from the
system properties.
|
static SystemProfileValueSource |
getInstance()
Obtain the canonical instance of this ProfileValueSource.
|
public static final SystemProfileValueSource getInstance()
public java.lang.String get(java.lang.String key)
get
in interface ProfileValueSource
key
- the name of the profile valuenull
if there is no profile value with that keySystem.getProperty(String)