org.rythmengine.utils
Class I18N
java.lang.Object
org.rythmengine.utils.I18N
public class I18N
- extends Object
I18N utils
Constructor Summary |
I18N()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
I18N
public I18N()
locale
public static Locale locale(ITemplate template)
- Return a
template
's current locale, or
the the current engine
's
locale configuration
or finally the default locale with java.util.Locale.getDefault()
call
- Parameters:
template
- the template being executing
- Returns:
- a locale instance
locale
public static Locale locale()
bundle
public static ResourceBundle bundle(String name)
bundle
public static ResourceBundle bundle(ITemplate template,
String name,
Locale locale)
Copyright © 2013. All Rights Reserved.