public class

DefaultWebResourceFilter

extends Object
implements WebResourceFilter
java.lang.Object
   ↳ com.atlassian.plugin.webresource.DefaultWebResourceFilter

Class Overview

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.

Summary

Fields
public static final DefaultWebResourceFilter INSTANCE
Public Constructors
DefaultWebResourceFilter()
Public Methods
boolean matches(String resourceName)
Returns true if this filter supports the inclusion of the given resource.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.webresource.WebResourceFilter

Fields

public static final DefaultWebResourceFilter INSTANCE

Public Constructors

public DefaultWebResourceFilter ()

Public Methods

public boolean matches (String resourceName)

Returns true if this filter supports the inclusion of the given resource.

Returns
  • true if the filter includes this resource, false otherwise