Top Description Constructors Methods
org.jboss.modules.filter

public final Class ClassFilters

extends Object
Class Inheritance

Static factory methods for class filter types.
Author
David M. Lloyd

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ClassFilter

Returns:

the accept-all filter
acceptAll
()

Get a filter which always returns true.

public static ClassFilter

Returns:

the class filter
fromResourcePathFilter
(final PathFilter
the resource path filter
resourcePathFilter
)

Get a class filter which uses a resource path filter to filter classes.

public static ClassFilter

Returns:

the reject-all filter
rejectAll
()

Get a filter which always returns false.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ClassFiltersback to summary
private ClassFilters()

Method Detail

acceptAllback to summary
public static ClassFilter acceptAll()

Get a filter which always returns true.

Returns:ClassFilter

the accept-all filter

fromResourcePathFilterback to summary
public static ClassFilter fromResourcePathFilter(final PathFilter resourcePathFilter)

Get a class filter which uses a resource path filter to filter classes.

Parameters
resourcePathFilter:PathFilter

the resource path filter

Returns:ClassFilter

the class filter

rejectAllback to summary
public static ClassFilter rejectAll()

Get a filter which always returns false.

Returns:ClassFilter

the reject-all filter