openlr.map.sqlite.impl
Class Configuration

java.lang.Object
  extended by openlr.map.sqlite.impl.Configuration

public final class Configuration
extends Object

Contains configuration parameters and a routine to read the database schema properties file.

OpenLR is a trade mark of TomTom International B.V.

email: software@openlr.org

Author:
TomTom International B.V.

Field Summary
static int CACHE_INITIAL_SIZE
          Initial size of internal feature caches.
static float CACHE_LOAD_FACTOR
          Load factor of internal feature caches.
static int CACHE_MAX_SIZE
          The maximum number of elements allowed in internal feature caches.
static String CONFIGURATION_PROPERTIES_XML_FILE
          Path to the default configuration properties file in XML format.
static String LOGGING_PROPERTIES_FILE
          Path to the default logging properties file.
static long LOGGING_WATCH_DELAY
          Default delay for logging properties file change monitoring.
static boolean TURN_RESTRICTIONS_SUPPORTED
          Defines whether turn restrictions are supported.
 
Method Summary
static String get(String key)
          Gets the value for a specific configuration key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CACHE_LOAD_FACTOR

public static final float CACHE_LOAD_FACTOR
Load factor of internal feature caches.

See Also:
Constant Field Values

CACHE_MAX_SIZE

public static final int CACHE_MAX_SIZE
The maximum number of elements allowed in internal feature caches.

See Also:
Constant Field Values

CACHE_INITIAL_SIZE

public static final int CACHE_INITIAL_SIZE
Initial size of internal feature caches.

See Also:
Constant Field Values

CONFIGURATION_PROPERTIES_XML_FILE

public static final String CONFIGURATION_PROPERTIES_XML_FILE
Path to the default configuration properties file in XML format.

See Also:
Constant Field Values

LOGGING_PROPERTIES_FILE

public static final String LOGGING_PROPERTIES_FILE
Path to the default logging properties file.

See Also:
Constant Field Values

LOGGING_WATCH_DELAY

public static final long LOGGING_WATCH_DELAY
Default delay for logging properties file change monitoring.

See Also:
Constant Field Values

TURN_RESTRICTIONS_SUPPORTED

public static final boolean TURN_RESTRICTIONS_SUPPORTED
Defines whether turn restrictions are supported.

See Also:
Constant Field Values
Method Detail

get

public static String get(String key)
Gets the value for a specific configuration key.

Parameters:
key - the configuration key.
Returns:
the value for the given key.


Copyright © 2012 TomTom International B.V.. All Rights Reserved.