com.atlassian.plugin.webresource
Class DefaultWebResourceFilter
java.lang.Object
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
|
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 |
INSTANCE
public static final DefaultWebResourceFilter INSTANCE
DefaultWebResourceFilter
public DefaultWebResourceFilter()
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.