|
Oracle® Globalization Development Kit Java API Reference 10g Release 1(10.1) B10971-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.i18n.servlet.localesource.LocaleSource | +--oracle.i18n.servlet.localesource.UserInput
UserInput
calls
request.getParameter(LocaleSource.Parameter)
to retrieve the
user input. The user input locales will be cached for subsequent use in the
session.
In typical web applications, user input comes from web clients that submit a
form containing a locale and its attributes. The UserInput
class is used when the application allows users to specify their language
preference. By default, the parameters defined in
LocaleSource.Parameter
are recognized as the user input
locale.
Nested Class Summary |
Nested classes inherited from class oracle.i18n.servlet.localesource.LocaleSource |
LocaleSource.Alignment, LocaleSource.Parameter, LocaleSource.WritingDirection |
Field Summary |
Fields inherited from class oracle.i18n.servlet.localesource.LocaleSource |
GET_INSTANCE_METHOD |
Method Summary | |
static oracle.i18n.servlet.localesource.LocaleSource |
getInstance(javax.servlet.http.HttpServletRequest request)
Returns the instance of this object. |
boolean |
load()
Loads a locale and attributes from the source. |
boolean |
store()
Stores this object into the source. |
Methods inherited from class oracle.i18n.servlet.localesource.LocaleSource |
equals, getAttribute, getCharacterSet, getCollator, getCurrencyFormat, getDateFormat, getDateTimeFormat, getISOCurrency, getLocale, getLocaleSourceClass, getNumberFormat, getTimeFormat, getTimeZone, getWritingDirection, hashCode, isCached, isReadOnly, isValidated, setAttribute, setCharacterSet, setCollator, setCurrencyFormat, setDateFormat, setDateTimeFormat, setISOCurrency, setLocale, setLocale, setLocaleSourceClass, setNumberFormat, setTimeFormat, setTimeZone, setWritingDirection |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static oracle.i18n.servlet.localesource.LocaleSource getInstance(javax.servlet.http.HttpServletRequest request)
This is called by the servlet filter. Application doesn't require to call this.
request
- HttpServletRequest object
UserInput
object casted to LocaleSourcepublic boolean store()
This is called by the servlet filter. Application doesn't require to call this.
store
in class LocaleSource
public boolean load()
This is called by the servlet filter. Application doesn't require to call this.
load
in class LocaleSource
|
Oracle® Globalization Development Kit Java API Reference 10g Release 1(10.1) B10971-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |