net.sf.oval.localization.locale
Class ThreadLocalLocaleProvider

java.lang.Object
  extended by net.sf.oval.localization.locale.ThreadLocalLocaleProvider
All Implemented Interfaces:
LocaleProvider

public class ThreadLocalLocaleProvider
extends Object
implements LocaleProvider

Author:
Sebastian Thomschke

Constructor Summary
ThreadLocalLocaleProvider()
           
 
Method Summary
 Locale getLocale()
          Gets the locale of the current thread
 void setLocale(Locale locale)
          Sets the locale for the current thread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLocalLocaleProvider

public ThreadLocalLocaleProvider()
Method Detail

getLocale

public Locale getLocale()
Gets the locale of the current thread

Specified by:
getLocale in interface LocaleProvider

setLocale

public void setLocale(Locale locale)
Sets the locale for the current thread



Copyright © 2005–2015 The OVal Development Team. All rights reserved.