org.jopendocument.util.i18n
Class I18nUtils.SameLanguageControl

java.lang.Object
  extended by java.util.ResourceBundle.Control
      extended by org.jopendocument.util.i18n.I18nUtils.SameLanguageControl
Enclosing class:
I18nUtils

@ThreadSafe
public static class I18nUtils.SameLanguageControl
extends ResourceBundle.Control


Field Summary
 
Fields inherited from class java.util.ResourceBundle.Control
FORMAT_CLASS, FORMAT_DEFAULT, FORMAT_PROPERTIES, TTL_DONT_CACHE, TTL_NO_EXPIRATION_CONTROL
 
Constructor Summary
I18nUtils.SameLanguageControl()
           
 
Method Summary
 List<Locale> getCandidateLocales(String baseName, Locale locale)
           
 Locale getFallbackLocale(String baseName, Locale locale)
           
 
Methods inherited from class java.util.ResourceBundle.Control
getControl, getFormats, getNoFallbackControl, getTimeToLive, needsReload, newBundle, toBundleName, toResourceName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

I18nUtils.SameLanguageControl

public I18nUtils.SameLanguageControl()
Method Detail

getCandidateLocales

public List<Locale> getCandidateLocales(String baseName,
                                        Locale locale)
Overrides:
getCandidateLocales in class ResourceBundle.Control

getFallbackLocale

public Locale getFallbackLocale(String baseName,
                                Locale locale)
Overrides:
getFallbackLocale in class ResourceBundle.Control


Copyright © 2010 jOpenDocument All Rights Reserved.