org.rythmengine.utils
Class I18N

java.lang.Object
  extended by org.rythmengine.utils.I18N

public class I18N
extends Object

I18N utils


Constructor Summary
I18N()
           
 
Method Summary
static ResourceBundle bundle(ITemplate template, String name, Locale locale)
           
static ResourceBundle bundle(String name)
           
static Locale locale()
           
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

I18N

public I18N()
Method Detail

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.