org.apache.jmeter.display.utils
Class ResourceUtil
java.lang.Object
org.apache.jmeter.display.utils.ResourceUtil
public class ResourceUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RES_KEY_PFX
public static final String RES_KEY_PFX
- See Also:
- Constant Field Values
ResourceUtil
public ResourceUtil(String resourceFile)
init
public void init(String resourceFile)
getResString
public String getResString(String key)
- Gets the resource string for this key.
If the resource is not found, a warning is logged
- Parameters:
key - the key in the resource file
- Returns:
- the resource string if the key is found; otherwise, return
"[res_key="+key+"]"
setResources
public void setResources(ResourceBundle resources)
- Parameters:
resources - the resources to set
Copyright © 1998-2009 Apache Software Foundation. All Rights Reserved.