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.FileFilter
public boolean accept(java.io.File file)
accept
in class javax.swing.filechooser.FileFilter
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.