|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.filechooser.FileFilter dguitar.codecs.CodecFileFilter
Constructor Summary | |
CodecFileFilter()
|
Method Summary | |
boolean |
accept(java.io.File f)
this method is equivalent to f.isDirectory() || accept(f.getName()) |
boolean |
accept(java.io.File dir,
java.lang.String name)
This methos returns this.accept(name) |
abstract boolean |
accept(java.lang.String s)
Override this method actually accept the Name of the file or not |
abstract java.lang.String |
getDescription()
Returns a description of this CodeFilter |
abstract java.util.Vector |
getExtensions()
This method returns the extension the codec handles Example: {".GP3",".GP4",".GTP"} if it is a Guitar Pro codec) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CodecFileFilter()
Method Detail |
public abstract java.util.Vector getExtensions()
public abstract boolean accept(java.lang.String s)
public final boolean accept(java.io.File f)
f.isDirectory() || accept(f.getName())
accept
in interface java.io.FileFilter
FileFilter.accept(java.io.File)
public final boolean accept(java.io.File dir, java.lang.String name)
this.accept(name)
accept
in interface java.io.FilenameFilter
FilenameFilter.accept(java.io.File, java.lang.String)
public abstract java.lang.String getDescription()
FileFilter.getDescription()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |