public abstract class Messages extends Object
Messages class provides access to message properties.| Constructor and Description |
|---|
Messages() |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
getBundles() |
String |
getString(String resourceId)
Get the resource string with the given ID from the default bundle.
|
String |
getString(String resourceId,
Object... params)
Get the resource string with the given ID and parameters from the
default bundle.
|
abstract String |
getString(String bundle,
String resourceId,
Object... params)
Get the resource string with the given ID and parameters from the bundle.
|
protected void |
setBundles(String[] bundles) |
public String getString(String resourceId)
resourceId - resource IDpublic String getString(String resourceId, Object... params)
resourceId - resource IDparams - parameterspublic abstract String getString(String bundle, String resourceId, Object... params)
bundle - resource bundleresourceId - resource IDparams - parametersprotected String[] getBundles()
protected void setBundles(String[] bundles)
bundles - the bundles to setCopyright © 2013 TFI branch of Engels Instutute of Technology. All Rights Reserved.