org.jaudiotagger.fix
Class Fix202.OggFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by org.jaudiotagger.fix.Fix202.OggFileFilter
All Implemented Interfaces:
java.io.FileFilter
Enclosing class:
Fix202

static class Fix202.OggFileFilter
extends javax.swing.filechooser.FileFilter
implements java.io.FileFilter


Constructor Summary
Fix202.OggFileFilter()
          Create a default OggFileFilter.
 
Method Summary
 boolean accept(java.io.File file)
          Determines whether or not the file is an mp3 file.
 java.lang.String getDescription()
          Returns the Name of the Filter for use in the Chooser Dialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fix202.OggFileFilter

public Fix202.OggFileFilter()
Create a default OggFileFilter. The allowDirectories field will default to false.

Method Detail

accept

public final boolean accept(java.io.File file)
Determines whether or not the file is an mp3 file. If the file is a directory, whether or not is accepted depends upon the allowDirectories flag passed to the constructor.

Specified by:
accept in interface java.io.FileFilter
Specified by:
accept in class javax.swing.filechooser.FileFilter
Parameters:
file - the file to test
Returns:
true if this file or directory should be accepted

getDescription

public final java.lang.String getDescription()
Returns the Name of the Filter for use in the Chooser Dialog

Specified by:
getDescription in class javax.swing.filechooser.FileFilter
Returns:
The Description of the Filter