站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

LocaleContext (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

org.springframework.context.i18n
Interface LocaleContext

All Known Implementing Classes:
SimpleLocaleContext

public interface LocaleContext

Strategy interface for determining the current Locale.

A LocaleContext instance can be associated with a thread via the LocaleContextHolder class.

Since:
1.2
Author:
Juergen Hoeller
See Also:
LocaleContextHolder, Locale

Method Summary
 Locale getLocale()
          Return the current Locale, which can be fixed or determined dynamically, depending on the implementation strategy.
 

Method Detail

getLocale

Locale getLocale()
Return the current Locale, which can be fixed or determined dynamically, depending on the implementation strategy.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.