@Target(TYPE) @Retention(CLASS) @Documented public @interface MessageBundle
Modifier and Type | Required Element | Description |
---|---|---|
String |
projectCode |
Get the project code for messages that have an associated code.
|
Modifier and Type | Optional Element | Description |
---|---|---|
int |
length |
The length of the padding used for each id in the message bundle.
|
String |
rootLocale |
Specifies the locale for formatting bundle messages.
|
String projectCode
""
(the empty string).int length
"000100"
.
Valid values a range of 3 to 8. Any value less than 0 turns off padding. Any other value will result in an error
being produced.String rootLocale
An empty string will default to Locale.ROOT
.
A non-empty string will be parsed by the Locale.forLanguageTag(String)
. This uses the
IETF BCP 47 format.
Copyright © 2018. All rights reserved.