org.keridwen.core.i18n.internal
Class DefaultDictionaryService

java.lang.Object
  extended by org.keridwen.core.i18n.internal.DefaultDictionaryService
All Implemented Interfaces:
DictionaryService

public class DefaultDictionaryService
extends Object
implements DictionaryService


Constructor Summary
DefaultDictionaryService()
           
 
Method Summary
 void addDictionaryHelper(DictionaryHelper helperToAdd)
          Adds a dictionary helper to the list of managed helpers.
 Formatter getCurrentFormatter()
          Gets the current formatter.
 Locale getCurrentLocale()
          Gets the current locale.
 void removeDictionaryHelper(DictionaryHelper helperToRemove)
          Removes a dictionary helper from the list of managed helpers.
 void setFormatter(Formatter formatterToSet)
          Sets the formatter of the managed helpers.
 void setLocale(Locale aLocale)
          Sets the locale of the managed helpers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDictionaryService

public DefaultDictionaryService()
Method Detail

addDictionaryHelper

public void addDictionaryHelper(DictionaryHelper helperToAdd)
Description copied from interface: DictionaryService
Adds a dictionary helper to the list of managed helpers.

Specified by:
addDictionaryHelper in interface DictionaryService
Parameters:
helperToAdd - the helper to add

removeDictionaryHelper

public void removeDictionaryHelper(DictionaryHelper helperToRemove)
Description copied from interface: DictionaryService
Removes a dictionary helper from the list of managed helpers.

Specified by:
removeDictionaryHelper in interface DictionaryService
Parameters:
helperToRemove - the helper to remove

setLocale

public void setLocale(Locale aLocale)
Description copied from interface: DictionaryService
Sets the locale of the managed helpers.

Specified by:
setLocale in interface DictionaryService
Parameters:
aLocale - the locale to set

getCurrentLocale

public Locale getCurrentLocale()
Description copied from interface: DictionaryService
Gets the current locale.

Specified by:
getCurrentLocale in interface DictionaryService
Returns:
the currently set locale.

setFormatter

public void setFormatter(Formatter formatterToSet)
Description copied from interface: DictionaryService
Sets the formatter of the managed helpers.

Specified by:
setFormatter in interface DictionaryService
Parameters:
formatterToSet - the formatter to set

getCurrentFormatter

public Formatter getCurrentFormatter()
Description copied from interface: DictionaryService
Gets the current formatter.

Specified by:
getCurrentFormatter in interface DictionaryService
Returns:
the currently set formatter.


Copyright © 2011-2013 Artenum. All Rights Reserved.