org.jaudiotagger.test
Class TestAudioTagger.DirFilter

java.lang.Object
  extended by org.jaudiotagger.test.TestAudioTagger.DirFilter
All Implemented Interfaces:
java.io.FileFilter
Enclosing class:
TestAudioTagger

public final class TestAudioTagger.DirFilter
extends java.lang.Object
implements java.io.FileFilter


Field Summary
static java.lang.String IDENT
           
 
Constructor Summary
TestAudioTagger.DirFilter()
           
 
Method Summary
 boolean accept(java.io.File file)
          Determines whether or not the file is an mp3 file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IDENT

public static final java.lang.String IDENT
See Also:
Constant Field Values
Constructor Detail

TestAudioTagger.DirFilter

public TestAudioTagger.DirFilter()
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
Parameters:
file - the file to test
Returns:
true if this file or directory should be accepted