jsynoptic.ui
Class AggregateFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
jsynoptic.ui.AggregateFileFilter
public class AggregateFileFilter
- extends javax.swing.filechooser.FileFilter
This class aggregates a list of file filters, and matches the files accepted by the list.
- Author:
- nicolas brodu
Method Summary |
boolean |
accept(java.io.File f)
Accepts the file iff one of the filter in the list does |
java.lang.String |
getDescription()
|
javax.swing.filechooser.FileFilter |
getFilterForFile(java.io.File f)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resources
public static MenuResourceBundle resources
AggregateFileFilter
public AggregateFileFilter(javax.swing.filechooser.FileFilter[] list)
accept
public boolean accept(java.io.File f)
- Accepts the file iff one of the filter in the list does
- Specified by:
accept
in class javax.swing.filechooser.FileFilter
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in class javax.swing.filechooser.FileFilter
getFilterForFile
public javax.swing.filechooser.FileFilter getFilterForFile(java.io.File f)