org.crosswire.common.util
Class DefaultURIFilter

java.lang.Object
  extended by 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 [dmsmith555 at yahoo dot com]
See Also:
for license details.
The copyright to this program is held by it's authors.

Constructor Summary
DefaultURIFilter()
           
 
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
 

Constructor Detail

DefaultURIFilter

public DefaultURIFilter()
Method Detail

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.

Copyright ยจ 2003-2007