org.crosswire.common.util
Class DefaultURIFilter
java.lang.Object
org.crosswire.common.util.DefaultURIFilter
- All Implemented Interfaces:
- URIFilter
public class DefaultURIFilter
- extends Object
- implements URIFilter
An URIFilter that accepts all names.
- Author:
- DM Smith
- See Also:
The GNU Lesser General Public License for details.
Method Summary |
boolean |
accept(String name)
Tests if a specified file should be included in a file list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultURIFilter
public DefaultURIFilter()
accept
public boolean accept(String name)
- Description copied from interface:
URIFilter
- Tests if a specified file should be included in a file list.
- Specified by:
accept
in interface URIFilter
- Parameters:
name
- the name of the file.
- Returns:
true
if and only if the name should be included in
the file list; false
otherwise.