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