|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A locator of Java resources.
| Method Summary | |
URL |
getBaseURL()
Returns the URL from which all resources are based. |
Object |
getImage(String key)
Returns the description that can be used to create the image resource associated with the key. |
String |
getString(String key)
Returns the string resource associated with the key. |
String |
getString(String key,
boolean translate)
Returns the string resource associated with the key. |
String |
getString(String key,
Object[] substitutions)
Returns a string resource associated with the key, and peforms substitutions. |
String |
getString(String key,
Object[] substitutions,
boolean translate)
Returns a string resource associated with the key, and peforms substitutions. |
| Method Detail |
public URL getBaseURL()
public Object getImage(String key)
key - the key of the image resource.
public String getString(String key)
key - the key of the string resource.
public String getString(String key,
boolean translate)
key - the key of the string resource.translate - whether the result is to be translated to the current locale.
public String getString(String key,
Object[] substitutions)
key - the key of the string.substitutions - the message substitutions.
getString(String),
MessageFormat.format(String, Object[])
public String getString(String key,
Object[] substitutions,
boolean translate)
key - the key of the string.substitutions - the message substitutions.translate - whether the result is to be translated to the current locale.
getString(String),
MessageFormat.format(String, Object[])
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||