org.spiffyui.client.login
Class LoginStringHelper

java.lang.Object
  extended by org.spiffyui.client.login.LoginStringHelper

public class LoginStringHelper
extends java.lang.Object

The LoginStingHelper is a helper class to resolve the strings used in the login dialog. If the client is using default GWT localization then they can just use this instance. If not then they can extend this class to provide specialized string resolution.


Constructor Summary
LoginStringHelper()
           
 
Method Summary
 java.lang.String getString(LoginStrings msgKey)
          Get the specified localized string
 java.lang.String getString(LoginStrings msgKey, java.lang.String arg1)
          Get the specified localized string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginStringHelper

public LoginStringHelper()
Method Detail

getString

public java.lang.String getString(LoginStrings msgKey)
Get the specified localized string

Parameters:
msgKey - the message key for the string
Returns:
the localized string

getString

public java.lang.String getString(LoginStrings msgKey,
                                  java.lang.String arg1)
Get the specified localized string

Parameters:
msgKey - the message key for the string
arg1 - the argument for the string
Returns:
the localized string