org.zeroexchange.i18n.read.processor
Class AbstractLocalizationProvider<T>

java.lang.Object
  extended by org.zeroexchange.i18n.read.processor.AbstractLocalizationProvider<T>
All Implemented Interfaces:
LocalizationProviderProcessor<T>
Direct Known Subclasses:
TitlesAwareProvider

public abstract class AbstractLocalizationProvider<T>
extends Object
implements LocalizationProviderProcessor<T>

Author:
black

Constructor Summary
AbstractLocalizationProvider()
           
 
Method Summary
 String getString(T entity)
          Returns localized string for the 'title' resource type.
 String getString(T entity, String resourceType)
          Returns localized string for the 'title' resource type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.zeroexchange.i18n.read.processor.LocalizationProviderProcessor
getString
 

Constructor Detail

AbstractLocalizationProvider

public AbstractLocalizationProvider()
Method Detail

getString

public String getString(T entity)
Description copied from interface: LocalizationProviderProcessor
Returns localized string for the 'title' resource type.

Specified by:
getString in interface LocalizationProviderProcessor<T>

getString

public String getString(T entity,
                        String resourceType)
Description copied from interface: LocalizationProviderProcessor
Returns localized string for the 'title' resource type.

Specified by:
getString in interface LocalizationProviderProcessor<T>


Copyright © 2013. All Rights Reserved.