T-Plan Robot Enterprise 2.3.5
Build No. 2.3.5-20120711.1

com.tplan.robot.l10n
Class LocalizationSupport

java.lang.Object
  extended by com.tplan.robot.l10n.LocalizationSupport

public class LocalizationSupport
extends Object

A framework for plugging, discovery and loading of localized resource bundles.


T-Plan Robot Enterprise, (C) 2009-2012 T-Plan Limited. All rights reserved.


Constructor Summary
LocalizationSupport()
          Creates a new instance of LocalizationSupport
 
Method Summary
static List<Locale> getAvailableResourceBundles(String baseName, Class cl)
           
static Locale getLastLoadedLocale()
           
static CustomPropertyResourceBundle getResourceBundle(Locale locale, Class cl, String baseName)
           
static ResourceBundle translate(String providerCode, Locale source, Locale target, Class cl, String baseName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalizationSupport

public LocalizationSupport()
Creates a new instance of LocalizationSupport

Method Detail

translate

public static ResourceBundle translate(String providerCode,
                                       Locale source,
                                       Locale target,
                                       Class cl,
                                       String baseName)

getResourceBundle

public static CustomPropertyResourceBundle getResourceBundle(Locale locale,
                                                             Class cl,
                                                             String baseName)

getAvailableResourceBundles

public static List<Locale> getAvailableResourceBundles(String baseName,
                                                       Class cl)

getLastLoadedLocale

public static Locale getLastLoadedLocale()

T-Plan Robot Enterprise 2.3.5
Build No. 2.3.5-20120711.1