java.io.FilenameFilter |
FilenameFilter is an interface which declares methods for filtering file
names in the list
method of File.
boolean | accept(File dir, String filename) | |||||
Returns a boolean if a specific filename matches a filter. |
dir | the directory in which the filename was found. |
---|---|
filename | the name of the file in dir to test. |
true
if the filename matches the filter
and can be included in the list, false
otherwise.
Copyright 2007 Google Inc. | Build 0.9_r1-98467 - 14 Aug 2008 18:56 |