Regain 2.1.0-STABLE API

net.sf.regain.util.io
Class MultiLocalizer.ClassLocalizerFactory

java.lang.Object
  extended by net.sf.regain.util.io.MultiLocalizer.ClassLocalizerFactory
All Implemented Interfaces:
MultiLocalizer.LocalizerFactory
Enclosing class:
MultiLocalizer

private static class MultiLocalizer.ClassLocalizerFactory
extends Object
implements MultiLocalizer.LocalizerFactory

A factory that creates localizers for a specific class.


Field Summary
private  Class<?> mClazz
          The class to create localizers for.
 
Constructor Summary
MultiLocalizer.ClassLocalizerFactory(Class<?> clazz)
          Creates a new instance of ClassLocalizerFactory.
 
Method Summary
 Localizer createLocalizer(Locale locale)
          Creates a localizer for a specific locale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mClazz

private Class<?> mClazz
The class to create localizers for.

Constructor Detail

MultiLocalizer.ClassLocalizerFactory

public MultiLocalizer.ClassLocalizerFactory(Class<?> clazz)
Creates a new instance of ClassLocalizerFactory.

Parameters:
clazz - The class to create localizers for.
Method Detail

createLocalizer

public Localizer createLocalizer(Locale locale)
Creates a localizer for a specific locale.

Specified by:
createLocalizer in interface MultiLocalizer.LocalizerFactory
Parameters:
locale - The locale to create the localizer for.
Returns:
The created localizer.

Regain 2.1.0-STABLE API

Regain 2.1.0-STABLE, Copyright (C) 2004-2010 Til Schneider, www.murfman.de, Thomas Tesche, www.clustersystems.info