org.jboss.logging.annotations.MessageBundle , as
well as the org.jboss.logging.BasicLogger interface.
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the length the id should be paddedThe length of the padding used for each id in the message bundle. |
| public String | Returns: the project codeGet the project code for messages that have an associated code. |
| public String | Returns: the default locale message bundles should use for formatting messagesSpecifies the locale for formatting bundle messages. |
| length | back to summary |
|---|---|
| public int length() The length of the padding used for each id in the message bundle. For example given the default padding length
of 6 and a message with an id of 100 would result would be 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.
| |
| projectCode | back to summary |
|---|---|
| public String projectCode() Get the project code for messages that have an associated code. If no project code is associated
with this logger, specify
| |
| rootLocale | back to summary |
|---|---|
| public String rootLocale() Specifies the locale for formatting bundle messages. This is only used in the super implementation. Subclasses will define their own locale to use based on the name of the resource bundle at compile time.
An empty string will default to
A non-empty string will be parsed by the
| |