org.zeroexchange.i18n.stat
Class DefaultStaticLocalizedStringReader

java.lang.Object
  extended by org.zeroexchange.i18n.stat.DefaultStaticLocalizedStringReader
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, StaticLocalizedStringsReader

public class DefaultStaticLocalizedStringReader
extends Object
implements StaticLocalizedStringsReader, org.springframework.beans.factory.InitializingBean

Author:
black

Constructor Summary
DefaultStaticLocalizedStringReader()
           
 
Method Summary
 void afterPropertiesSet()
           
 String getString(String bundleName, String key, String locale)
          Returns localized string.
 void setLocaleBundlesFolder(File localeBundlesFolder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStaticLocalizedStringReader

public DefaultStaticLocalizedStringReader()
Method Detail

setLocaleBundlesFolder

public void setLocaleBundlesFolder(File localeBundlesFolder)

getString

public String getString(String bundleName,
                        String key,
                        String locale)
Returns localized string.

Specified by:
getString in interface StaticLocalizedStringsReader

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2013. All Rights Reserved.