|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface L10nResource
Represents a localization resource.
L10nResourceFactory
Method Summary | |
---|---|
Object |
getObject(String key)
Returns a localized object for the specified key. |
String |
getString(String key)
Returns a localized string for the specified key. |
Method Detail |
---|
String getString(String key)
key
- the key identifying a localized string to look up and return.
MissingResourceException
- may be thrown when no object can be found for the specified key.
ClassCastException
- when the object found for the specified key cannot be cast to a String
.Object getObject(String key)
key
- the key identifying a localized object to look up and return.
MissingResourceException
- may be thrown when no object can be found for the specified key.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |