cz.dhl.io
Interface CoFilenameFilter


public interface CoFilenameFilter

Defines interface of filtering files.

Version:
0.72 08/10/2003
Author:
Bea Petrovicova

Method Summary
 boolean accept(CoFile dir, java.lang.String name)
          Tests if a specified file should be included in a file list.
 

Method Detail

accept

public boolean accept(CoFile dir,
                      java.lang.String name)
Tests if a specified file should be included in a file list.

Parameters:
dir - the directory in which the file was found
name - the name of the file
Returns:
true if and only if the name should be included in the file list; false otherwise.


Available from sourceforge http://sourceforge.net/projects/jvftp under the terms of GNU Lesser General Public License (LGPL).