org.hrodberaht.i18n.locale
Class ThreadLocaleProvider

java.lang.Object
  extended by org.hrodberaht.i18n.locale.SimpleLocaleProvider
      extended by org.hrodberaht.i18n.locale.ThreadLocaleProvider
All Implemented Interfaces:
ProviderInterface

public class ThreadLocaleProvider
extends SimpleLocaleProvider

Simple Java Utils

Since:
1.0
Version:
1.0
Author:
Robert Alexandersson

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.hrodberaht.i18n.locale.ProviderInterface
ProviderInterface.StatefulProfile
 
Constructor Summary
ThreadLocaleProvider()
           
 
Method Summary
 LocaleProfile getProfile()
           
 java.util.Locale getSystemLocale()
           
 void setStatefulProfile(LocaleProfile localeProfile)
           
 ProviderInterface.StatefulProfile statefulProfileSupport()
           
 
Methods inherited from class org.hrodberaht.i18n.locale.SimpleLocaleProvider
createLocale, createSystemLocale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLocaleProvider

public ThreadLocaleProvider()
Method Detail

getProfile

public LocaleProfile getProfile()
Specified by:
getProfile in interface ProviderInterface
Overrides:
getProfile in class SimpleLocaleProvider

getSystemLocale

public java.util.Locale getSystemLocale()
Specified by:
getSystemLocale in interface ProviderInterface
Overrides:
getSystemLocale in class SimpleLocaleProvider

statefulProfileSupport

public ProviderInterface.StatefulProfile statefulProfileSupport()
Specified by:
statefulProfileSupport in interface ProviderInterface
Overrides:
statefulProfileSupport in class SimpleLocaleProvider

setStatefulProfile

public void setStatefulProfile(LocaleProfile localeProfile)
Specified by:
setStatefulProfile in interface ProviderInterface
Overrides:
setStatefulProfile in class SimpleLocaleProvider


Copyright © 2010. All Rights Reserved.