public class ProvidenceConfigUtil extends Object
| Constructor and Description |
|---|
ProvidenceConfigUtil() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
buildKeySet(String prefix,
PMessage message,
Set<String> valueKeySet)
Build the key-sets for the given message and prefix.
|
static Object |
getInMessage(PMessage message,
String key)
Look up a key in the message structure.
|
static Object |
getInMessage(PMessage message,
String key,
Object defValue)
Look up a key in the message structure.
|
public static Object getInMessage(PMessage message, String key)
message - The message to look up into.key - The key to look up.public static Object getInMessage(PMessage message, String key, Object defValue)
message - The message to look up into.key - The key to look up.defValue - The default value.protected static void buildKeySet(String prefix, PMessage message, Set<String> valueKeySet)
prefix - The current prefix, or null for no prefix.message - The message to make key-set pairs for.valueKeySet - The value key-set (with simple values)Copyright © 2015–2016 morimekta.net. All rights reserved.