Annotation Interface RBEntry


@Retention(RUNTIME) @Target(FIELD) @Documented public @interface RBEntry
Represents the localized content for an annotated property. Note that the annotated property must be of the form public static final String XXX = "yyy", where "XXX" represents the string constant used by code wishing to use this localized message and "yyy" represents a unique string (which is internally used to build the WTListResourceBundle.getContents() Object[][]).

Supported API: true
Extendable: false
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The string to localize for the given property, corresponding to " <key>.value=..." in a StringResourceInfo rbInfo file.
  • Element Details

    • value

      String value
      The string to localize for the given property, corresponding to " <key>.value=..." in a StringResourceInfo rbInfo file. This string accepts substitutions in the form of {#}, where "# " represents consecutive integers beginning with 0. Please note that substitution complicates localization and is discouraged.

      Supported API: true