org.extex.framework.i18n
Class LocalizerFactory

java.lang.Object
  extended by org.extex.framework.i18n.LocalizerFactory

public final class LocalizerFactory
extends java.lang.Object

This factory provides means to get a Localizer. It implements the singleton pattern by providing static methods only.

Version:
$Revision: 7152 $
Author:
Gerd Neugebauer

Method Summary
static Localizer getLocalizer(java.lang.Class<?> theClass)
          Return the Localizer associated to a given name.
static Localizer getLocalizer(java.lang.String name)
          Return the Localizer associated to a given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLocalizer

public static Localizer getLocalizer(java.lang.Class<?> theClass)
Return the Localizer associated to a given name.

Parameters:
theClass - the class of the localizer
Returns:
the localizer for the given name

getLocalizer

public static Localizer getLocalizer(java.lang.String name)
Return the Localizer associated to a given name.

Parameters:
name - the name of the localizer
Returns:
the localizer for the given name