org.crosswire.common.util
Interface URLFilter

All Known Implementing Classes:
NetUtil.IsDirectoryURLFilter

public interface URLFilter

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

Distribution Licence:
JSword is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
The License is available on the internet here, or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
The copyright to this program is held by it's authors.

Version:
$Id: URLFilter.java,v 1.1 2004/04/20 21:16:06 joe Exp $
Author:
Joe Walker [joe at eireneh dot com]
See Also:
Licence, 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-2004