org.broadleafcommerce.openadmin.client
Class MessageManager

java.lang.Object
  extended by org.broadleafcommerce.openadmin.client.MessageManager
All Implemented Interfaces:
com.google.gwt.i18n.client.Constants, com.google.gwt.i18n.client.ConstantsWithLookup, com.google.gwt.i18n.client.Localizable, com.google.gwt.i18n.client.LocalizableResource

public class MessageManager
extends Object
implements com.google.gwt.i18n.client.ConstantsWithLookup

Created by IntelliJ IDEA. User: jfischer Date: 8/5/11 Time: 5:36 PM To change this template use File | Settings | File Templates.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.google.gwt.i18n.client.Constants
com.google.gwt.i18n.client.Constants.DefaultBooleanValue, com.google.gwt.i18n.client.Constants.DefaultDoubleValue, com.google.gwt.i18n.client.Constants.DefaultFloatValue, com.google.gwt.i18n.client.Constants.DefaultIntValue, com.google.gwt.i18n.client.Constants.DefaultStringArrayValue, com.google.gwt.i18n.client.Constants.DefaultStringMapValue, com.google.gwt.i18n.client.Constants.DefaultStringValue
 
Nested classes/interfaces inherited from interface com.google.gwt.i18n.client.LocalizableResource
com.google.gwt.i18n.client.LocalizableResource.DefaultLocale, com.google.gwt.i18n.client.LocalizableResource.Description, com.google.gwt.i18n.client.LocalizableResource.Generate, com.google.gwt.i18n.client.LocalizableResource.GeneratedFrom, com.google.gwt.i18n.client.LocalizableResource.GenerateKeys, com.google.gwt.i18n.client.LocalizableResource.Key, com.google.gwt.i18n.client.LocalizableResource.Meaning
 
Constructor Summary
MessageManager()
           
 
Method Summary
 void addConstants(com.google.gwt.i18n.client.ConstantsWithLookup constants)
           
 boolean getBoolean(String methodName)
           
 double getDouble(String methodName)
           
 float getFloat(String methodName)
           
 int getInt(String methodName)
           
 Map<String,String> getMap(String methodName)
           
 String getString(String methodName)
           
 String[] getStringArray(String methodName)
           
 String replaceKeys(String templateProperty, String[] keyNames, String[] values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageManager

public MessageManager()
Method Detail

addConstants

public void addConstants(com.google.gwt.i18n.client.ConstantsWithLookup constants)

getBoolean

public boolean getBoolean(String methodName)
                   throws MissingResourceException
Specified by:
getBoolean in interface com.google.gwt.i18n.client.ConstantsWithLookup
Throws:
MissingResourceException

getDouble

public double getDouble(String methodName)
                 throws MissingResourceException
Specified by:
getDouble in interface com.google.gwt.i18n.client.ConstantsWithLookup
Throws:
MissingResourceException

getFloat

public float getFloat(String methodName)
               throws MissingResourceException
Specified by:
getFloat in interface com.google.gwt.i18n.client.ConstantsWithLookup
Throws:
MissingResourceException

getInt

public int getInt(String methodName)
           throws MissingResourceException
Specified by:
getInt in interface com.google.gwt.i18n.client.ConstantsWithLookup
Throws:
MissingResourceException

getMap

public Map<String,String> getMap(String methodName)
                          throws MissingResourceException
Specified by:
getMap in interface com.google.gwt.i18n.client.ConstantsWithLookup
Throws:
MissingResourceException

getString

public String getString(String methodName)
                 throws MissingResourceException
Specified by:
getString in interface com.google.gwt.i18n.client.ConstantsWithLookup
Throws:
MissingResourceException

getStringArray

public String[] getStringArray(String methodName)
                        throws MissingResourceException
Specified by:
getStringArray in interface com.google.gwt.i18n.client.ConstantsWithLookup
Throws:
MissingResourceException

replaceKeys

public String replaceKeys(String templateProperty,
                          String[] keyNames,
                          String[] values)


Copyright © 2012. All Rights Reserved.