|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.filechooser.FileFilter net.sourceforge.pavlov.zipUtilities.ZipCapableFileFilter net.sourceforge.pavlov.zipUtilities.SoundFileFilter
public class SoundFileFilter
A FileFilter that accepts only Audio files and zip/jar entries.
Constructor Summary | |
---|---|
SoundFileFilter()
|
Method Summary | |
---|---|
boolean |
accept(File f)
Returns true if f is a Audio file. |
boolean |
accept(ZipEntry f)
Returns true if f is a Audio file. |
protected boolean |
checkName(String name)
Determines if name represents a Audio file/entry name. |
String |
getDescription()
Returns description of this file filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SoundFileFilter()
Method Detail |
---|
public boolean accept(File f)
accept
in interface FileFilter
accept
in class FileFilter
f
- a File
value
boolean
valuepublic boolean accept(ZipEntry f)
accept
in class ZipCapableFileFilter
f
- a ZipEntry
value
boolean
valueprotected boolean checkName(String name)
name
- a String
value
boolean
valuepublic String getDescription()
getDescription
in class FileFilter
String
value
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |