Top Description Methods
org.jboss.modules.filter

public Interface PathFilter

Known Direct Implementers
org.jboss.modules.filter.SetPathFilter, org.jboss.modules.filter.AggregatePathFilter, org.jboss.modules.filter.BooleanPathFilter, org.jboss.modules.filter.ChildPathFilter, org.jboss.modules.filter.EqualsPathFilter, org.jboss.modules.filter.GlobPathFilter, org.jboss.modules.filter.InvertingPathFilter, org.jboss.modules.filter.MultiplePathFilter

Filter used to determine whether a path should be included or excluded from imports and exports.
Author
John Bailey

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the path should be accepted, false if not
accept
(String
the path to check
path
)

Determine whether a path should be accepted.

public boolean

Returns:

true if this filter is the same
equals
(Object
the other object
other
)

Determine whether this filter is equal to another.

public int

Returns:

the hash code
hashCode
()

Calculate a unique hash code for this path filter.

Method Detail

acceptback to summary
public boolean accept(String path)

Determine whether a path should be accepted. The given name is a path separated by "/" characters.

Parameters
path:String

the path to check

Returns:boolean

true if the path should be accepted, false if not

equalsback to summary
public boolean equals(Object other)

Determine whether this filter is equal to another. Filters must implement meaningful (non-identity) equality semantics.

Parameters
other:Object

the other object

Returns:boolean

true if this filter is the same

hashCodeback to summary
public int hashCode()

Calculate a unique hash code for this path filter. Equal path filters must yield identical hash codes.

Returns:int

the hash code