public class SimpleLocaleContext extends ObjectSE implements LocaleContext
LocaleContext
インターフェースの単純な実装で、常に指定された Locale
を返します。コンストラクターと説明 |
---|
SimpleLocaleContext(LocaleSE locale) 指定されたロケールを公開する新しい SimpleLocaleContext を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
LocaleSE | getLocale() 現在のロケールを返します。実装戦略に応じて、固定または動的に決定できます。 |
StringSE | toString() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public SimpleLocaleContext(@Nullable LocaleSE locale)
getLocale()
呼び出しはこのロケールを返します。locale
- 公開するロケール、または特定のロケールがない null
@Nullable public LocaleSE getLocale()
LocaleContext
LocaleContext
の getLocale
null
public StringSE toString()
ObjectSE
の toStringSE