com.sun.javatest.util
Interface FileFilter


public interface FileFilter

A filter interface for files.


Method Summary
 boolean accepts(java.io.File file)
          Determines whether a file should be included in a collection.
 

Method Detail

accepts

boolean accepts(java.io.File file)
Determines whether a file should be included in a collection.

Parameters:
file - the file to check
Returns:
true if the file should be included in a collection, and false otherwise.


Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.