sk.uniba.euromath.tools
Class LangTools

java.lang.Object
  extended by sk.uniba.euromath.tools.LangTools

public class LangTools
extends Object

Utilities for i18n.

Author:
Martin Vysny

Method Summary
static ResourceBundle newBundle(String bundleName, Class<? extends Object> callee)
          Loads resource bundle depending on i18n settings in config file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newBundle

public static ResourceBundle newBundle(String bundleName,
                                       Class<? extends Object> callee)
Loads resource bundle depending on i18n settings in config file.

Parameters:
bundleName - the name of the bundle - path to bundle in dot notation.
callee - the callee class. If not null then class loader from this class will be used.
Returns:
bundle instance.


Copyright © 2003-2006 null. All Rights Reserved.