org.tigris.scarab.pipeline
Class SetLocaleValve

java.lang.Object
  extended byorg.apache.turbine.pipeline.AbstractValve
      extended byorg.tigris.scarab.pipeline.SetLocaleValve
All Implemented Interfaces:
org.apache.turbine.Valve

public class SetLocaleValve
extends org.apache.turbine.pipeline.AbstractValve

This valve checks for changes in the browser locale preference settings. Every time the user changes their locale settings, Scarab will update its internal database to reflect these changes. From then on the user gets their emails in the new preferred language.

Author:
Hussayn Dabbous

Constructor Summary
SetLocaleValve()
           
 
Method Summary
 void invoke(org.apache.turbine.RunData data, org.apache.turbine.ValveContext context)
           
 
Methods inherited from class org.apache.turbine.pipeline.AbstractValve
initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetLocaleValve

public SetLocaleValve()
Method Detail

invoke

public void invoke(org.apache.turbine.RunData data,
                   org.apache.turbine.ValveContext context)
            throws java.io.IOException,
                   org.apache.turbine.TurbineException
Throws:
java.io.IOException
org.apache.turbine.TurbineException
See Also:
Valve.invoke(RunData, ValveContext)


Copyright © 2000-2004 Tigris.org. All Rights Reserved.