|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.context.i18n.SimpleLocaleContext
public class SimpleLocaleContext
Simple implementation of the LocaleContext interface,
always returning a specified Locale.
| Constructor Summary | |
|---|---|
SimpleLocaleContext(java.util.Locale locale)
Create a new SimpleLocaleContext that exposes the specified Locale. |
|
| Method Summary | |
|---|---|
java.util.Locale |
getLocale()
Return the current Locale, which can be fixed or determined dynamically, depending on the implementation strategy. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleLocaleContext(java.util.Locale locale)
getLocale() will return this Locale.
locale - the Locale to expose| Method Detail |
|---|
public java.util.Locale getLocale()
LocaleContext
getLocale in interface LocaleContextpublic java.lang.String toString()
toString in class java.lang.Object
|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||