public class SuffixFileFilter
extends javax.swing.filechooser.FileFilter
| Constructor and Description |
|---|
SuffixFileFilter(java.lang.String[] suffices)
Constructs a new file filter which selects on the given suffices.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.io.File file) |
boolean |
equals(java.lang.Object other) |
java.lang.String |
getDescription() |
int |
hashCode() |
public SuffixFileFilter(java.lang.String[] suffices)
suffices - array of suitable suffix stringspublic java.lang.String getDescription()
getDescription in class javax.swing.filechooser.FileFilterpublic boolean accept(java.io.File file)
accept in class javax.swing.filechooser.FileFilterpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright ? 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.