|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.neoworks.mpeg.MP3FileFilter
This class is a simple checker to make sure we're not trying to access anything but MP3 files (eg ones that end in ".mp3").
Constructor Summary | |
MP3FileFilter()
Creates a new instance of MP3FileFilter |
Method Summary | |
boolean |
accept(java.io.File file,
java.lang.String str)
Check the filename for the correct extension. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MP3FileFilter()
Method Detail |
public boolean accept(java.io.File file, java.lang.String str)
accept
in interface java.io.FilenameFilter
file
- The file object to checkstr
- The filename to check
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |