Spiffy UI Framework

org.spiffyui.server.filter
Class GWTLocaleBundleFilter

java.lang.Object
  extended by org.spiffyui.server.filter.GWTLocaleFilter
      extended by org.spiffyui.server.filter.GWTLocaleBundleFilter

public abstract class GWTLocaleBundleFilter
extends GWTLocaleFilter

Filter that will substitute the various markers in retrieved xml and jnlp files with values retrieved from the servlet context.


Constructor Summary
GWTLocaleBundleFilter()
           
 
Method Summary
protected  java.util.List<java.util.Locale> getMinimumSupportedLocales()
          Get the list of locales supported for this application.
protected abstract  java.lang.String getResourcePath()
          Get the path to the localization resources to determine the supported locales from
 void init(FilterConfig filterConfig)
           
 
Methods inherited from class org.spiffyui.server.filter.GWTLocaleFilter
destroy, doFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GWTLocaleBundleFilter

public GWTLocaleBundleFilter()
Method Detail

init

public void init(FilterConfig filterConfig)
Overrides:
init in class GWTLocaleFilter

getResourcePath

protected abstract java.lang.String getResourcePath()
Get the path to the localization resources to determine the supported locales from

Returns:
the localization path

getMinimumSupportedLocales

protected java.util.List<java.util.Locale> getMinimumSupportedLocales()
Get the list of locales supported for this application.

Specified by:
getMinimumSupportedLocales in class GWTLocaleFilter
Returns:
the list of supported locales

Spiffy UI Framework