public final class OpenLRPropertyAccess extends Object
Configuration object.
OpenLR is a trade mark of TomTom International B.V.
email: software@openlr.org
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getBooleanPropertyValue(org.apache.commons.configuration.Configuration properties,
OpenLRProperty property)
Gets the boolean property value.
|
static float |
getFloatPropertyValue(org.apache.commons.configuration.Configuration properties,
OpenLRProperty property)
Gets the float property value.
|
static int |
getIntegerPropertyValue(org.apache.commons.configuration.Configuration properties,
OpenLRProperty property)
Gets the integer property value.
|
static int |
getIntegerPropertyValueById(org.apache.commons.configuration.Configuration properties,
OpenLRProperty property,
String id)
Gets the integer property value.
|
static int |
getIntegerPropertyValueFromMap(org.apache.commons.configuration.Configuration properties,
OpenLRProperty property,
String id)
Gets the integer property value.
|
static String |
getStringPropertyValue(org.apache.commons.configuration.Configuration properties,
OpenLRProperty property)
Gets the string property value.
|
public static int getIntegerPropertyValue(org.apache.commons.configuration.Configuration properties,
OpenLRProperty property)
throws OpenLRPropertyException
properties - the propertiesproperty - the propertyOpenLRPropertyException - the open lr property exceptionpublic static float getFloatPropertyValue(org.apache.commons.configuration.Configuration properties,
OpenLRProperty property)
throws OpenLRPropertyException
properties - the propertiesproperty - the propertyOpenLRPropertyException - the open lr property exceptionpublic static String getStringPropertyValue(org.apache.commons.configuration.Configuration properties, OpenLRProperty property) throws OpenLRPropertyException
properties - the propertiesproperty - the propertyOpenLRPropertyException - the open lr property exceptionpublic static boolean getBooleanPropertyValue(org.apache.commons.configuration.Configuration properties,
OpenLRProperty property)
throws OpenLRProcessingException
properties - the propertiesproperty - the propertyOpenLRProcessingException - the open lr processing exceptionpublic static int getIntegerPropertyValueById(org.apache.commons.configuration.Configuration properties,
OpenLRProperty property,
String id)
throws OpenLRProcessingException
properties - the propertiesproperty - the propertyid - the idOpenLRProcessingException - the open lr processing exceptionpublic static int getIntegerPropertyValueFromMap(org.apache.commons.configuration.Configuration properties,
OpenLRProperty property,
String id)
throws OpenLRProcessingException
properties - the propertiesproperty - the propertyid - the idOpenLRProcessingException - the open lr processing exceptionCopyright © 2019 TomTom International B.V.. All rights reserved.