com.atlassian.plugin.webresource
Class DefaultWebResourceFilter

java.lang.Object
  extended by com.atlassian.plugin.webresource.DefaultWebResourceFilter
All Implemented Interfaces:
WebResourceFilter

public class DefaultWebResourceFilter
extends Object
implements WebResourceFilter

A Web Resource Filter that allows for css and javascript resources. This is the default filter used by the WebResourceManagerImpl for include/get resource methods that do not accept a filter as a parameter.

Since:
2.4

Field Summary
static DefaultWebResourceFilter INSTANCE
           
 
Constructor Summary
DefaultWebResourceFilter()
           
 
Method Summary
 boolean matches(String resourceName)
          Returns true if this filter supports the inclusion of the given resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final DefaultWebResourceFilter INSTANCE
Constructor Detail

DefaultWebResourceFilter

public DefaultWebResourceFilter()
Method Detail

matches

public boolean matches(String resourceName)
Description copied from interface: WebResourceFilter
Returns true if this filter supports the inclusion of the given resource.

Specified by:
matches in interface WebResourceFilter
Returns:
true if the filter includes this resource, false otherwise


Copyright © 2011 Atlassian. All Rights Reserved.