entagged.audioformats
Class AudioFileFilter

java.lang.Object
  extended byentagged.audioformats.AudioFileFilter
All Implemented Interfaces:
java.io.FileFilter

public class AudioFileFilter
extends java.lang.Object
implements java.io.FileFilter

This is a simple FileFilter that will only allow the file supported by this library.

It will also accept directories. An additionnal condition is that file must be readable (read permission) and are not hidden (dot files, or hidden files)

Since:
v0.01
Version:
$Id: AudioFileFilter.html,v 1.2 2005/09/14 19:30:31 kikidonk Exp $
Author:
Raphael Slinckx

Constructor Summary
AudioFileFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
          Check wether the given file meet the required conditions (supported by the library OR directory).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AudioFileFilter

public AudioFileFilter()
Method Detail

accept

public boolean accept(java.io.File f)

Check wether the given file meet the required conditions (supported by the library OR directory). The File must also be readable and not hidden.

Specified by:
accept in interface java.io.FileFilter
Parameters:
f - The file to test
Returns:
a boolean indicating if the file is accepted or not