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)
Constructor and Description |
---|
AudioFileFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File f)
Check wether the given file meet the required conditions (supported by the library OR directory).
|
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.
accept
in interface java.io.FileFilter
f
- The file to test