Util
Class FileNameExtensionFilter
java.lang.Object
javax.swing.filechooser.FileFilter
Util.FileNameExtensionFilter
public class FileNameExtensionFilter
- extends javax.swing.filechooser.FileFilter
Implementation for 1.5 compatibility of the 1.6 Java class of the same name,
which I didn't realise at the time of using, wasn't part of a 1.5
- Author:
- eliott bartley
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FileNameExtensionFilter
public FileNameExtensionFilter(java.lang.String description,
java.lang.String... extensions)
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
getExtensions
public java.lang.String[] getExtensions()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object