/[classpath]/classpath/java/io/FileFilter.java
ViewVC logotype

Diff of /classpath/java/io/FileFilter.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by arenn, Sun Mar 9 21:54:32 2003 UTC revision 1.7 by mkoch, Sun Mar 23 10:53:30 2003 UTC
# Line 39  exception statement from your version. * Line 39  exception statement from your version. *
39  package java.io;  package java.io;
40    
41  /**  /**
42    * This interface has one method which is used for filtering pathnames   * This interface has one method which is used for filtering pathnames
43    * returned in a pathname listing.  It is currently used by the   * returned in a pathname listing.  It is currently used by the
44    * <code>File.listFiles()</code> method.   * <code>File.listFiles()</code> method.
45    * <p>   * <p>
46    * The method in this interface determines if a particular pathname should   * The method in this interface determines if a particular pathname should
47    * or should not be included in the pathname listing.   * or should not be included in the pathname listing.
48    *   *
49    * @author Aaron M. Renn (arenn@urbanophile.com)   * @author Aaron M. Renn (arenn@urbanophile.com)
50    */   */
51  public interface FileFilter  public interface FileFilter
52  {  {
53    
54    /**    /**
55      * This method determines whether or not a given pathname should be included     * This method determines whether or not a given pathname should be included
56      * in a pathname listing.     * in a pathname listing.
57      *     *
58      * @param pathname The pathname to test     * @param pathname The pathname to test
59      *     *
60      * @return <code>true</code> if the path should be included in the list,     * @return <code>true</code> if the path should be included in the list,
61      * <code>false</code> otherwise.     * <code>false</code> otherwise.
62      */     */
63    public abstract boolean accept(File pathname);    public abstract boolean accept(File pathname);
64    
65  } // interface FileFilter  } // interface FileFilter

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26