com.googlecode.fascinator.portal.services.impl
Class JavaPropertiesLanguageService
java.lang.Object
com.googlecode.fascinator.portal.services.impl.JavaPropertiesLanguageService
- All Implemented Interfaces:
- FascinatorService, LanguageService
public class JavaPropertiesLanguageService
- extends Object
- implements LanguageService
Service that will read in a set of Java properties files from a given
directory and then use them to resolve strings based on message codes
These can be called from your velocity templates using the #displayMessage
template
- Author:
- andrewbrazzatti
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaPropertiesLanguageService
public JavaPropertiesLanguageService()
getConfig
public JsonSimple getConfig()
- Specified by:
getConfig in interface FascinatorService
setConfig
public void setConfig(JsonSimple config)
- Specified by:
setConfig in interface FascinatorService
init
public void init()
- Specified by:
init in interface FascinatorService
displayMessage
public String displayMessage(String messageCode)
- Specified by:
displayMessage in interface LanguageService
Copyright © 2009-2013. All Rights Reserved.