Public Member Functions

alma.acs.logging.io.FileChooserFilter Class Reference

Inherits javax::swing::filechooser::FileFilter.

List of all members.

Public Member Functions

 FileChooserFilter (String[] extensions)
boolean accept (File f)
String getDescription ()

Detailed Description

The filter of files shown by the chooser.

The filtering is based on the extension of the files (case insensitive)

Author:
acaproni

Constructor & Destructor Documentation

alma.acs.logging.io.FileChooserFilter.FileChooserFilter ( String[]  extensions  ) 

Constructor

Parameters:
extensions The extension used for filtering

Member Function Documentation

boolean alma.acs.logging.io.FileChooserFilter.accept ( File  f  ) 

Check if the file is readable and if its extensions matches one of the available extensions.

See also:
javax.swing.filechooser.FileFilter.accept(java.io.File)
String alma.acs.logging.io.FileChooserFilter.getDescription (  ) 
See also:
javax.swing.filechooser.FileFilter.getDescription()

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties