|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
loci.formats.ComboFileFilter
A file filter that recognizes files from a union of other filters.
| Constructor Summary | |
ComboFileFilter(FileFilter[] filters,
String description)
construct a new filter from a list of other filters |
|
| Method Summary | |
boolean |
accept(File f)
accept files with the proper filename prefix |
int |
compareTo(Object o)
Compares two FileFilter objects alphanumerically. |
String |
getDescription()
return the filter's description |
static FileFilter[] |
sortFilters(FileFilter[] filters)
Sorts the given list of file filters, and combines filters with identical descriptions into a combination filter that accepts anything any of its constituant filters do. |
static FileFilter[] |
sortFilters(Vector filters)
Sorts the given list of file filters, and combines filters with identical descriptions into a combination filter that accepts anything any of its constituant filters do. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ComboFileFilter(FileFilter[] filters,
String description)
| Method Detail |
public static FileFilter[] sortFilters(FileFilter[] filters)
public static FileFilter[] sortFilters(Vector filters)
public boolean accept(File f)
accept in interface FileFilterpublic String getDescription()
public int compareTo(Object o)
compareTo in interface Comparable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||