lib.jGroupware.utils
Class Properties

java.lang.Object
  extended bylib.jGroupware.utils.Properties

public class Properties
extends java.lang.Object

Description of the Class

Author:
Gareth Webber

Constructor Summary
Properties()
           
 
Method Summary
 java.util.Map getMapFromResourceBundle(java.lang.String resource)
          Gets a map from a specially formatted resource bundle
 java.lang.String getSqlFromProperties(java.lang.String resource, java.lang.String key)
          Get a string from a resource bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Properties

public Properties()
Method Detail

getSqlFromProperties

public java.lang.String getSqlFromProperties(java.lang.String resource,
                                             java.lang.String key)
Get a string from a resource bundle.

Parameters:
key - Key in bundle
resource - Bundle Name
Returns:
Value required

getMapFromResourceBundle

public java.util.Map getMapFromResourceBundle(java.lang.String resource)
Gets a map from a specially formatted resource bundle

Parameters:
resource - Bundle name
Returns:
Mapping