Package | Description |
---|---|
com.hp.sdn.misc |
Miscellaneous SDN-specific utilities and auxiliaries for use as part
of implementations in either tier; entities provided within cannot not
be used as part of the mutual interface between the tiers however.
|
Modifier and Type | Method and Description |
---|---|
static int |
ConfigUtils.readInt(Map<String,Object> cfg,
String key,
Validator<Integer> validator,
int defaultValue)
Read an integer value from the configuration map.
|
static long |
ConfigUtils.readLong(Map<String,Object> cfg,
String key,
Validator<Long> validator,
long defaultValue)
Read a long value from the configuration map.
|
static int |
ConfigUtils.readPort(Map<String,Object> cfg,
String key,
Validator<Integer> validator,
int defaultValue)
Read a port number from the configuration map.
|
static String |
ConfigUtils.readString(Map<String,Object> cfg,
String key,
Validator<String> validator,
String defaultValue)
Read a string value from the configuration.
|
Copyright © 2015. All Rights Reserved.