public class SaveFileFilter
extends javax.swing.filechooser.FileFilter
Constructor and Description |
---|
SaveFileFilter()
Instantiates a new save file filter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File pathname) |
java.lang.String |
getDescription() |
void |
setDescription(java.lang.String _description)
Sets the description.
|
void |
setExtensions(java.lang.String[] _extensions)
Sets the extensions.
|
public void setExtensions(java.lang.String[] _extensions)
_extensions
- the new extensionspublic void setDescription(java.lang.String _description)
_description
- the new descriptionpublic boolean accept(java.io.File pathname)
accept
in class javax.swing.filechooser.FileFilter
public java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter