|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocaleProvider
A service that is used to determine what the current locale is for a
particular context or session. If no LocaleProvider
service is available then the locale must be determined by other
means, for example, by calling Locale.getDefault()
.
More advanced environments can support multiple locales within a
single system. For example, a server may support multiple users,
each needing a different locale. In such an environment a
LocaleProvider
service must be registered that can
determine the current locale for the context of the call to the
getLocale()
method.
Method Summary | |
---|---|
Locale |
getLocale()
Determines the current locale for the context of the call to this method. |
Method Detail |
---|
Locale getLocale()
Locale.getDefault()
.
The result of this method should not be retained or passed to other threads. The current locale can change any time and may be different for each thread.
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.