Annotation Type Locale


@Target({METHOD,PARAMETER,FIELD}) @Retention(RUNTIME) public @interface Locale
Annotation to translate Locale identifiers to their respective translated value
Author:
dfuentes Created by dfuentes on 28/04/2017.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Language to translate to
    Parameters to be added to the translated locale
    Locale identifier to be translated
  • Element Details

    • value

      String value
      Locale identifier to be translated
      Returns:
      Default:
      ""
    • language

      String language
      Language to translate to
      Returns:
      Default:
      ""
    • params

      String[] params
      Parameters to be added to the translated locale
      Returns:
      Default:
      {""}