com.jeta.open.i18n
Class I18NHelper
java.lang.Object
com.jeta.open.i18n.I18NHelper
public class I18NHelper
- extends Object
This is a utility class for dealing with internationalization issues
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
equals
public boolean equals(String arg1,
String arg2)
getInstance
public static I18NHelper getInstance()
loadBundle
public void loadBundle(String bundleName)
setLocale
public void setLocale(Locale locale)
format
public String format(String template,
Object[] arguments)
- Returns:
- a locale specific message string for a message with a variable
number of arguments. Allows string messages to be composed
dynamically.
_getLocalizedMessage
public String _getLocalizedMessage(ResourceBundle bundle,
String messageId)
getLocalizedMessage
public String getLocalizedMessage(String messageId)
toBoolean
public boolean toBoolean(String strVal)
closeParenthesis
public char closeParenthesis()
comma
public char comma()
newline
public char newline()
openParenthesis
public char openParenthesis()
semicolon
public char semicolon()
space
public char space()
Copyright © 2005-2007 Jeff Tassin & Todd Viegut. All Rights Reserved.