|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object classpathhelper.CompositeClassStoreContentsFilter
Composite object that groups together a series of
ClassStoreContentsFilter
objects.
Constructor Summary | |
CompositeClassStoreContentsFilter()
|
Method Summary | |
boolean |
acceptItem(ClassStore store,
java.lang.String fullPath)
Basic filtering method that indicates whether or not an item should be visible from the class store. |
void |
addClassStoreContentsFilter(ClassStoreContentsFilter filter)
Adds a new filter to this composite. |
boolean |
removeClassStoreContentsFilter(ClassStoreContentsFilter filter)
Removes a filter from the composite. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CompositeClassStoreContentsFilter()
Method Detail |
public void addClassStoreContentsFilter(ClassStoreContentsFilter filter)
filter
- The new filter object.public boolean removeClassStoreContentsFilter(ClassStoreContentsFilter filter)
filter
- The filter to remove.
true
If the filter was in the composite, otherwise
false
public boolean acceptItem(ClassStore store, java.lang.String fullPath)
ClassStoreContentsFilter
acceptItem
in interface ClassStoreContentsFilter
store
- The store using this filter. Implementations of
this class should query the ClassStore
to find out
what character is used as a separator
.fullPath
- The full path within the store to the item.
true
If this item should be visible in the
class store, otherwise false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |