org.crosswire.common.util
Interface URIFilter

All Known Implementing Classes:
DefaultURIFilter, NetUtil.IsDirectoryURIFilter, ReadingsBookDriver.ReadingsFilter

public interface URIFilter

This is the URI equivalent of FilenameFilter in the java.io package.

Author:
Joe Walker
See Also:
The GNU Lesser General Public License for details., FilenameFilter

Method Summary
 boolean accept(String name)
          Tests if a specified file should be included in a file list.
 

Method Detail

accept

boolean accept(String name)
Tests if a specified file should be included in a file list.

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