org.crosswire.jsword.internationalisation
Class DefaultLocaleProvider

java.lang.Object
  extended by org.crosswire.jsword.internationalisation.DefaultLocaleProvider
All Implemented Interfaces:
LocaleProvider

public class DefaultLocaleProvider
extends Object
implements LocaleProvider

A default Locale provider simply returns Locale.getDefault()

Author:
Chris Burrell
See Also:
for license details.
The copyright to this program is held by it's authors.

Constructor Summary
DefaultLocaleProvider()
           
 
Method Summary
 Locale getUserLocale()
          Gets the user locale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLocaleProvider

public DefaultLocaleProvider()
Method Detail

getUserLocale

public Locale getUserLocale()
Description copied from interface: LocaleProvider
Gets the user locale.

Specified by:
getUserLocale in interface LocaleProvider
Returns:
the user locale

Copyright ? 2003-2011