com.gisgraphy.helper
Class PropertiesHelper

java.lang.Object
  extended by com.gisgraphy.helper.PropertiesHelper

public class PropertiesHelper
extends java.lang.Object

Some useful functions for properties files

Author:
David Masclet

Field Summary
protected static org.slf4j.Logger logger
           
 
Constructor Summary
PropertiesHelper()
           
 
Method Summary
static java.util.Map<java.lang.String,java.lang.String> convertBundleToMap(java.util.ResourceBundle rb)
          Method to convert a ResourceBundle to a Map object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.slf4j.Logger logger
Constructor Detail

PropertiesHelper

public PropertiesHelper()
Method Detail

convertBundleToMap

public static java.util.Map<java.lang.String,java.lang.String> convertBundleToMap(java.util.ResourceBundle rb)
Method to convert a ResourceBundle to a Map object.

Parameters:
rb - a given resource bundle
Returns:
Map a populated map


Copyright © 2010. All Rights Reserved.