com.elegantj.graphx
Class ImageFileFilter
java.lang.Object
|
+--javax.swing.filechooser.FileFilter
|
+--com.elegantj.graphx.ImageFileFilter
- public class ImageFileFilter
- extends javax.swing.filechooser.FileFilter
ImageFileFilter class is used to filter the files into directory
and alow only the image files. i.e. .jpg, .jpeg, .gif , .tiff , .tif , .png
and A convenience implementation of FileFilter that filters out
all files except for those type extensions that it knows about. like jpg, jpeg, png
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageFileFilter
public ImageFileFilter()
accept
public boolean accept(java.io.File f)
- Specified by:
accept in class javax.swing.filechooser.FileFilter
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in class javax.swing.filechooser.FileFilter
getExtension
public java.lang.String getExtension(java.io.File f)
For any feedback, suggestion, or query, please revert back to support@elegantcharts.com
Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjcharts.com
All Rights Reserved.