|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectshohaku.core.text.MessageFormatBinder
識別子でマッピングされたメッセージ書式化機能を束ねる機能を提供します。
| 入れ子クラスの概要 | |
static interface |
MessageFormatBinder.MessageFormater
識別子とフォーマッタをマッピングし実行する機能を提供します。 |
| コンストラクタの概要 | |
MessageFormatBinder()
デフォルトのロケールとフォーマットで初期化します。 |
|
MessageFormatBinder(java.util.Locale locale)
ロケールを指定してデフォルトフォーマットで初期化します。 |
|
MessageFormatBinder(java.util.Locale locale,
MessageFormatBinder.MessageFormater[] fs)
ロケールとフォーマットを指定して初期化します。 |
|
| メソッドの概要 | |
java.lang.String |
format(java.lang.String pattern,
java.lang.Object[] args)
フォーマット変換を実行します。 |
static MessageFormatBinder |
getDefaultBinder()
デフォルトの書式化オブジェクトを返却します. |
java.util.Locale |
getLocale()
ロケールを返却します. |
MessageFormatBinder.MessageFormater[] |
getMessageFormaters()
登録されているフォーマット一覧を返却します. |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
public MessageFormatBinder()
public MessageFormatBinder(java.util.Locale locale)
locale - ロケール
public MessageFormatBinder(java.util.Locale locale,
MessageFormatBinder.MessageFormater[] fs)
locale - ロケールfs - フォーマット| メソッドの詳細 |
public MessageFormatBinder.MessageFormater[] getMessageFormaters()
public java.util.Locale getLocale()
public java.lang.String format(java.lang.String pattern,
java.lang.Object[] args)
pattern - 書式パターンargs - 書式パターンに割り当てる値
public static MessageFormatBinder getDefaultBinder()
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||