| java.lang.Object org.springframework.context.i18n.SimpleLocaleContext
SimpleLocaleContext | public class SimpleLocaleContext implements LocaleContext(Code) | | Simple implementation of the LocaleContext interface,
always returning a specified Locale.
author: Juergen Hoeller since: 1.2 |
Constructor Summary | |
public | SimpleLocaleContext(Locale locale) Create a new SimpleLocaleContext that exposes the specified Locale. |
SimpleLocaleContext | public SimpleLocaleContext(Locale locale)(Code) | | Create a new SimpleLocaleContext that exposes the specified Locale.
Every getLocale() will return this Locale.
Parameters: locale - the Locale to expose |
|
|