jAudioFeatureExtractor.jMIDITools
Class FileFilterMIDI

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by jAudioFeatureExtractor.jMIDITools.FileFilterMIDI

public class FileFilterMIDI
extends javax.swing.filechooser.FileFilter

A file filter. Implements the two methods of the FileFilter abstract class.

Filters all files except directories and files that end with .mid or .midi (case is ignored).

Author:
Cory McKay
See Also:
FileFilter

Constructor Summary
FileFilterMIDI()
           
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileFilterMIDI

public FileFilterMIDI()
Method Detail

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