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