Klasse RundataLocalizationService

java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.fulcrum.localization.SimpleLocalizationServiceImpl
org.apache.fulcrum.localization.DefaultLocalizationService
org.apache.turbine.services.localization.RundataLocalizationService
Alle implementierten Schnittstellen:
Serializable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, org.apache.fulcrum.localization.LocalizationService, org.apache.fulcrum.localization.SimpleLocalizationService, RundataLocalizationInterface

public class RundataLocalizationService extends org.apache.fulcrum.localization.DefaultLocalizationService implements RundataLocalizationInterface
Instead of reading first the accept-language header in a http request, instead this method read the user.getTemp("locale") from the RunData to obtain the language choice by the user without the browser language rule. If user.getPerm("language") is not set, the "Accept-Language" header is read. Adapted from the Jetspeed-1 implementation of CustomLocalizationService.
Siehe auch:
  • Feldübersicht

    Von Schnittstelle geerbte Felder org.apache.fulcrum.localization.LocalizationService

    ACCEPT_LANGUAGE, ROLE, SERVICE_NAME

    Von Schnittstelle geerbte Felder org.apache.fulcrum.localization.SimpleLocalizationService

    ROLE, SERVICE_NAME
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Get the locale from the session first, then fallback to normal request headers.

    Von Klasse geerbte Methoden org.apache.fulcrum.localization.DefaultLocalizationService

    getBundle, getBundle, getBundle, getLocale, getLocale

    Von Klasse geerbte Methoden org.apache.fulcrum.localization.SimpleLocalizationServiceImpl

    configure, format, format, format, getBundle, getBundle, getBundle, getBundleNames, getDefaultBundleName, getDefaultCountry, getDefaultLanguage, getDefaultLocale, getString, getString, getStringOrNull, initBundleNames, initialize, setBundle

    Von Klasse geerbte Methoden org.apache.avalon.framework.logger.AbstractLogEnabled

    enableLogging, getLogger, setupLogger, setupLogger, setupLogger

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Von Schnittstelle geerbte Methoden org.apache.fulcrum.localization.LocalizationService

    getBundle, getBundle, getBundle, getLocale, getLocale

    Von Schnittstelle geerbte Methoden org.apache.fulcrum.localization.SimpleLocalizationService

    format, format, format, getBundle, getBundle, getBundle, getBundleNames, getDefaultBundleName, getDefaultCountry, getDefaultLanguage, getDefaultLocale, getString, getString, setBundle