|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceBundleMessage
This ResourceBundleMessage
interface guarantees that a message can be localized
using a locale. This interface provides no more and no less than what is required for
performing standard internationalization as described in the official Java Tutorials.
This interface also performs no translation of the arguments. It merely collects together
what is required for composite messages (the most general case).
Method Summary | |
---|---|
java.lang.Object[] |
getArguments(java.util.ResourceBundle messages)
Returns an argument array that can be passed to MessageFormat.format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition) . |
java.text.Format[] |
getFormat(java.util.ResourceBundle messages)
Returns an Format array that can be passed to MessageFormat.setFormats(java.text.Format[]) . |
java.lang.String |
getPatternKey()
Returns the key that will be used to uniquely identify the message. |
Method Detail |
---|
java.lang.String getPatternKey()
java.lang.Object[] getArguments(java.util.ResourceBundle messages)
MessageFormat.format(java.lang.Object[], java.lang.StringBuffer, java.text.FieldPosition)
.
messages
- The resource bundle name.
java.text.Format[] getFormat(java.util.ResourceBundle messages)
Format
array that can be passed to MessageFormat.setFormats(java.text.Format[])
.
messages
- The resource bundle name.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |