public static class Utils.JYMAGFileFilter
extends javax.swing.filechooser.FileFilter
Constructor and Description |
---|
Utils.JYMAGFileFilter(java.lang.String description,
java.util.Map<java.lang.String,java.lang.Integer> filetype)
Creates a JYMAGFileFilter instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File f) |
java.lang.String |
getDescription() |
java.lang.String |
toString() |
public Utils.JYMAGFileFilter(java.lang.String description, java.util.Map<java.lang.String,java.lang.Integer> filetype)
description
- the description of the filter.filetype
- the types of the files to be accepted by the filter.public boolean accept(java.io.File f)
accept
in class javax.swing.filechooser.FileFilter
public java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter
public java.lang.String toString()
toString
in class java.lang.Object