public class BasicMessageFormatter extends java.lang.Object implements MessageFormatter
Mapのサブタイプの場合は、NamedMessageFormatを使用してメッセージをフォーマットする。
それ以外の場合は、MessageFormatを使用してメッセージをフォーマットする。MessageFormat,
NamedMessageFormat| Constructor and Description |
|---|
BasicMessageFormatter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(java.lang.String template,
java.lang.Object[] options)
メッセージをフォーマットする。
|
public java.lang.String format(java.lang.String template,
java.lang.Object[] options)
MessageFormatterformat in interface MessageFormattertemplate - フォーマット対象のメッセージテンプレートoptions - オプション情報