Package org.jboss.modules.filter
Interface PathFilter
- 
 public interface PathFilterFilter used to determine whether a path should be included or excluded from imports and exports.- Author:
- John Bailey
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccept(java.lang.String path)Determine whether a path should be accepted.booleanequals(java.lang.Object other)Determine whether this filter is equal to another.inthashCode()Calculate a unique hash code for this path filter.
 
- 
- 
- 
Method Detail- 
acceptboolean accept(java.lang.String path) Determine whether a path should be accepted. The given name is a path separated by "/" characters.- Parameters:
- path- the path to check
- Returns:
- true if the path should be accepted, false if not
 
 - 
hashCodeint hashCode() Calculate a unique hash code for this path filter. Equal path filters must yield identical hash codes.- Overrides:
- hashCodein class- java.lang.Object
- Returns:
- the hash code
 
 - 
equalsboolean equals(java.lang.Object other) Determine whether this filter is equal to another. Filters must implement meaningful (non-identity) equality semantics.- Overrides:
- equalsin class- java.lang.Object
- Parameters:
- other- the other object
- Returns:
- trueif this filter is the same
 
 
- 
 
-