com.liferay.util
Class ResourceBundleUtil

java.lang.Object
  extended by com.liferay.util.ResourceBundleUtil

public class ResourceBundleUtil
extends java.lang.Object

View Source

This class provides a convenience routine named getString() that gets the value of a ResourceBundle key, but also provides the ability to perform search & replace on tokens within the value of the key.

Author:
Neil Griffin

Constructor Summary
ResourceBundleUtil()
           
 
Method Summary
static java.lang.String getString(java.util.ResourceBundle bundle, java.util.Locale locale, java.lang.String key, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceBundleUtil

public ResourceBundleUtil()
Method Detail

getString

public static java.lang.String getString(java.util.ResourceBundle bundle,
                                         java.util.Locale locale,
                                         java.lang.String key,
                                         java.lang.Object[] args)