Skip to content

Most visited

Recently visited

navigation
Added in API level 1

FileFilter

public interface FileFilter

java.io.FileFilter


An interface for filtering File objects based on their names or other information.

See also:

Summary

Public methods

abstract boolean accept(File pathname)

Indicating whether a specific file should be included in a pathname list.

Public methods

accept

Added in API level 1
boolean accept (File pathname)

Indicating whether a specific file should be included in a pathname list.

Parameters
pathname File: the abstract file to check.
Returns
boolean true if the file should be included, false otherwise.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.