de.smartics.resteasy.hypermedia.renderer.i18n
Class DummyI18nProvider

Package class diagram package DummyI18nProvider
java.lang.Object
  extended by de.smartics.resteasy.hypermedia.renderer.i18n.DummyI18nProvider
All Implemented Interfaces:
I18nProvider

@Alternative
public class DummyI18nProvider
     
     
extends Object
implements I18nProvider

Provides no localization information.


Constructor Summary
DummyI18nProvider()
           
 
Method Summary
 LocalizationProvider getProvider(Locale locale)
          Returns localized information for the specified locale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyI18nProvider

public DummyI18nProvider()
Method Detail

getProvider

public LocalizationProvider getProvider(Locale locale)
Returns localized information for the specified locale.

Every value in the returned provider instance is unset, with the exception of the locale which matches the values passed in.

Specified by:
getProvider in interface I18nProvider
Parameters:
locale - the locale for which resource information is requested.
Returns:
the requested localized information.


Copyright © 2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.