public final class RegistryUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Object> |
getRegistry(String registryName)
Retrieve an entire registry.
|
static Object |
getValue(String registryName,
String key)
Retrieve one specific value from a registry.
|
static void |
putValue(String registryName,
String key,
Object value)
Add a specific value to a registry.
|
static void |
removeValue(String registryName,
String key)
Remove a specific value from a registry.
|
public static void putValue(String registryName, String key, Object value)
registryName - the name of the registry.key - the unique key corresponding to the value to insert (typically an appid).value - the value to add to the registry.public static Object getValue(String registryName, String key)
registryName - the name of the registry.key - the unique key corresponding to the value to retrieve (typically an appid).public static void removeValue(String registryName, String key)
registryName - the name of the registry.key - the unique key corresponding to the value to remove (typically an appid).Copyright © 2018 Erudika. All rights reserved.