jAudioFeatureExtractor.jAudioTools
Class FileFilterAudio
java.lang.Object
javax.swing.filechooser.FileFilter
jAudioFeatureExtractor.jAudioTools.FileFilterAudio
public class FileFilterAudio
- extends javax.swing.filechooser.FileFilter
A file filter for the JFileChooser
class.
Implements the two methods of the FileFilter
abstract class.
Filters all files except directories and files that
end with .wav, .wave, .aif, .aiff, .aifc, .au, .snd
and mp3 (case is ignored).
WARNING: Future additions will be made, as
the Java SDK comes to support more file types.
- Author:
- Cory McKay
- See Also:
FileFilter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileFilterAudio
public FileFilterAudio()
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