|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectru.sstu.web.core.Messages
public abstract class Messages
Messages class provides access to message properties.
| Constructor Summary | |
|---|---|
Messages()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Messages()
| Method Detail |
|---|
public String getString(String resourceId)
resourceId - resource ID
public String getString(String resourceId,
Object... params)
resourceId - resource IDparams - parameters
public abstract String getString(String bundle,
String resourceId,
Object... params)
bundle - resource bundleresourceId - resource IDparams - parameters
protected String[] getBundles()
protected void setBundles(String[] bundles)
bundles - the bundles to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||