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

Diff of /classpath/java/io/FilenameFilter.java

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

revision 1.9 by mark, Tue Jan 22 22:26:59 2002 UTC revision 1.10 by arenn, Sun Mar 9 21:54:33 2003 UTC
# Line 57  package java.io; Line 57  package java.io;
57  public interface FilenameFilter  public interface FilenameFilter
58  {  {
59    
60  /**    /**
61    * This method determines whether or not a given file should be included      * This method determines whether or not a given file should be included
62    * in a directory listing.      * in a directory listing.
63    *      *
64    * @param dir The <code>File</code> instance for the directory being read      * @param dir The <code>File</code> instance for the directory being read
65    * @param name The name of the file to test      * @param name The name of the file to test
66    *      *
67    * @return <code>true</code> if the file should be included in the list,      * @return <code>true</code> if the file should be included in the list,
68    * <code>false</code> otherwise.      * <code>false</code> otherwise.
69    */      */
70  boolean    boolean accept(File dir, String name);
 accept(File dir, String name);  
71    
72  } // interface FilenameFilter  } // interface FilenameFilter
73    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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