org.exoplatform.services.portletcontainer.plugins.pc.portletAPIImp.bundle
Class ResourceBundleManager
java.lang.Object
org.exoplatform.services.portletcontainer.plugins.pc.portletAPIImp.bundle.ResourceBundleManager
public class ResourceBundleManager
- extends java.lang.Object
- Author:
- Benjamin Mestrallet benjamin.mestrallet@exoplatform.com
|
Field Summary |
protected org.exoplatform.container.ExoContainer |
cont
Exo container. |
static java.lang.String |
KEYWORDS
Keywords resource key. |
static java.lang.String |
PORTLET_SHORT_TITLE
Short title resource key. |
static java.lang.String |
PORTLET_TITLE
Title resource key. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PORTLET_TITLE
public static final java.lang.String PORTLET_TITLE
- Title resource key.
- See Also:
- Constant Field Values
PORTLET_SHORT_TITLE
public static final java.lang.String PORTLET_SHORT_TITLE
- Short title resource key.
- See Also:
- Constant Field Values
KEYWORDS
public static final java.lang.String KEYWORDS
- Keywords resource key.
- See Also:
- Constant Field Values
cont
protected org.exoplatform.container.ExoContainer cont
- Exo container.
ResourceBundleManager
public ResourceBundleManager(PortletContainerConf conf,
org.exoplatform.services.cache.CacheService cacheService,
org.exoplatform.container.ExoContainerContext context)
throws java.lang.Exception
- Parameters:
conf - PC confcacheService - cache servicecontext - exo container context
- Throws:
java.lang.Exception - exception
lookupBundle
public final java.util.ResourceBundle lookupBundle(Portlet portlet,
java.util.Locale locale)
- Parameters:
portlet - portletlocale - locale
- Returns:
- resource bundle
Copyright © 2010 eXo Platform SAS. All Rights Reserved.