classpathhelper
Interface ClassStoreContentsFilter

All Known Implementing Classes:
CompositeClassStoreContentsFilter

public interface ClassStoreContentsFilter

Filtering class that is used by the class stores to filter out contents that should not be visible in the store. This could correspond to property files, or CVS entries or any other files that should not be interpreted as a classfile.

As an example, by default both ClassStores include a filter than only allows files ending in .class to be made visible.

Since:
1.0
Author:
bharris

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.
 

Method Detail

acceptItem

public 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.

Parameters:
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.
Returns:
true If this item should be visible in the class store, otherwise false
Since:
1.0