Name

LocalizationContext

Synopsis

The LocalizationContext class represents a localization context.

Synopsis

Class name:

javax.servlet.jsp.jstl.core.LocaleSupport

Extends:

None

Implements:

None

Constructors

public LocalizationContext( )

Creates an empty context.

public LocalizationContext(java.util.ResourceBundle bundle)

Creates a context with the specified resource bundle but no locale.

public LocalizationContext(java.util.ResourceBundle bundle,

java.util.Locale locale)

Creates a context with the specified resource bundle and locale.

Methods

public java.util.ResourceBundle getResourceBundle( )

Returns the resource bundle.

public java.util.Locale getLocale( )

Returns the locale.

Get JavaServer Pages, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.