charvax.swing.filechooser

Class FileFilter


public abstract class FileFilter
extends java.lang.Object

FileFilter is an abstract class that has no default implementation. An implementation of this class can be set on a JFileChooser to prevent unwanted files from appearing in the directory listing.

Constructor Summary

FileFilter()

Method Summary

abstract boolean
accept(File file_)
Determines whether the specified file is accepted by this filter.

Constructor Details

FileFilter

public FileFilter()

Method Details

accept

public abstract boolean accept(File file_)
Determines whether the specified file is accepted by this filter.