@Target(value=TYPE) @Retention(value=CLASS) @Documented public @interface MessageBundle
| Modifier and Type | Required Element and Description |
|---|---|
String |
projectCode
Get the project code for messages that have an associated code.
|
| Modifier and Type | Optional Element and 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.
|
public abstract String projectCode
"" (the empty string).public abstract 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.public abstract 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 © 2019 JBoss by Red Hat. All rights reserved.