org.riotfamily.riot.resource
Class PropertyResourceFilter

java.lang.Object
  extended by org.riotfamily.riot.resource.AbstractPathMatchingResourceFilter
      extended by org.riotfamily.riot.resource.PropertyResourceFilter
All Implemented Interfaces:
ResourceFilter

public class PropertyResourceFilter
extends AbstractPathMatchingResourceFilter


Field Summary
static String CONTEXT_PATH_PROPERTY
           
static String LANGUAGE_PROPERTY
           
 
Constructor Summary
PropertyResourceFilter()
           
 
Method Summary
 FilterReader createFilterReader(Reader in, HttpServletRequest request)
          Returns a FilterReader that does the actual filtering.
 void setExposeContextPath(boolean exposeContextPath)
           
 void setExposeLanguage(boolean exposeLanguage)
           
 void setProperties(Map<String,String> properties)
           
 
Methods inherited from class org.riotfamily.riot.resource.AbstractPathMatchingResourceFilter
matches, setMatch, setMatches, setPathMatcher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_PATH_PROPERTY

public static final String CONTEXT_PATH_PROPERTY
See Also:
Constant Field Values

LANGUAGE_PROPERTY

public static final String LANGUAGE_PROPERTY
See Also:
Constant Field Values
Constructor Detail

PropertyResourceFilter

public PropertyResourceFilter()
Method Detail

setProperties

public void setProperties(Map<String,String> properties)

setExposeContextPath

public void setExposeContextPath(boolean exposeContextPath)

setExposeLanguage

public void setExposeLanguage(boolean exposeLanguage)

createFilterReader

public FilterReader createFilterReader(Reader in,
                                       HttpServletRequest request)
Description copied from interface: ResourceFilter
Returns a FilterReader that does the actual filtering.