klyn.i18n.ResourceBundle.operator[]
method
public operator[](notnull key as String) as Object
Description

Obtains an object, searching the parent chain only when locally absent.

Parameters
ParameterDescription
keyResource key.
Returns

Non-null resource object.

Throws
  • MissingResourceException if no bundle supplies the key.
  • NullException if key is null at runtime.
Example

caption as Object = messages["save"]