CARVIEW |
Select Language
HTTP/1.1 302 Moved Temporarily
Server: AkamaiGHost
Content-Length: 0
Location: https://docs.oracle.com/javase/7/docs/api/java/io/FileFilter.html
Date: Mon, 28 Jul 2025 12:25:59 GMT
Connection: keep-alive
Akamai-Request-BC: [a=23.3.70.85,b=227716024,c=g,n=IN_KA_BANGALORE,o=9498]
HTTP/1.1 200 OK
Server: AkamaiNetStorage
Content-Type: text/html
ETag: "70aa65e1d113bb5795e14daca35f72f6:1595391150.027213"
Vary: Accept-Encoding
Content-Encoding: gzip
Cache-Control: max-age=21600
Date: Mon, 28 Jul 2025 12:25:59 GMT
Content-Length: 2520
Connection: keep-alive
FileFilter (Java Platform SE 7 )
java.io
Interface FileFilter
-
public interface FileFilter
A filter for abstract pathnames.Instances of this interface may be passed to the
method of thelistFiles(FileFilter)
class.File
- Since:
- 1.2
-
-
Method Detail
-
accept
boolean accept(File pathname)
Tests whether or not the specified abstract pathname should be included in a pathname list.- Parameters:
pathname
- The abstract pathname to be tested- Returns:
true
if and only ifpathname
should be included
-
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.