Enum | Description |
---|---|
I18nConversionCategory |
Elements of this enumeration are used in a
I18nFormat annotation
to indicate the valid types that may be passed as a format parameter. |
Annotation Type | Description |
---|---|
I18nChecksFormat |
Attach this annotation to a method with the following properties:
The first parameter is a format string.
The second parameter is a vararg that takes conversion categories.
The method returns true if the format string is compatible with the conversion categories.
|
I18nFormat |
This annotation, attached to a String type,
indicates that the String may be passed to
MessageFormat.format . |
I18nFormatBottom |
Represents the bottom of the Internationalization Format String type hierarchy.
|
I18nFormatFor |
This annotation indicates that when a string of the annotated type is
passed as the first argument to
MessageFormat.format(String, Object...) , then the expression
that is an argument to the annotation can be passed as the remaining
arguments, in varargs style. |
I18nInvalidFormat |
This annotation, attached to a
String type,
indicates that if the String is passed to
MessageFormat.format(String, Object...) ,
an exception will result. |
I18nMakeFormat |
This annotation is used internally to annotate
ResourceBundle.getString(java.lang.String)
indicating the checker to check if the given key exist in the translation file
and annotate the result string with the correct format annotation according to the corresponding key's value. |
I18nUnknownFormat |
The top qualifier.
|
I18nValidFormat |
This annotation is used internally to annotate
I18nFormatUtil.isFormat(java.lang.String) |