org.netbeans.lib.cvsclient.util
Interface IgnoreFileFilter

All Known Implementing Classes:
DefaultIgnoreFileFilter

public interface IgnoreFileFilter

interface for recognizing if the local files are to be ignored. Implements the functionality of the .cvsignore files..


Method Summary
 boolean shouldBeIgnored(java.io.File directory, java.lang.String noneCvsFile)
          A file is checked against the patterns in the filter.
 

Method Detail

shouldBeIgnored

boolean shouldBeIgnored(java.io.File directory,
                        java.lang.String noneCvsFile)
A file is checked against the patterns in the filter. If any of these matches, the file should be ignored.

Parameters:
directory - is a file object that refers to the directory the file resides in.
noneCvsFile - is the name of the file to be checked.

 

Built on August 7 2008.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.