org.crosswire.common.util
Class NetUtil.IsDirectoryURLFilter

java.lang.Object
  extended by org.crosswire.common.util.NetUtil.IsDirectoryURLFilter
All Implemented Interfaces:
URLFilter
Enclosing class:
NetUtil

public static class NetUtil.IsDirectoryURLFilter
extends Object
implements URLFilter

Check that the directories in the version directory really represent versions.


Field Summary
private  URL parent
           
 
Constructor Summary
NetUtil.IsDirectoryURLFilter(URL parent)
          Simple ctor
 
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
 

Field Detail

parent

private URL parent
Constructor Detail

NetUtil.IsDirectoryURLFilter

public NetUtil.IsDirectoryURLFilter(URL parent)
Simple ctor

Method Detail

accept

public boolean accept(String name)
Description copied from interface: URLFilter
Tests if a specified file should be included in a file list.

Specified by:
accept in interface URLFilter
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-2005