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
See Also:
The GNU Lesser General Public License for details.

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-2015