MovieLibrary
Class ExeFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by MovieLibrary.ExeFileFilter

public class ExeFileFilter
extends javax.swing.filechooser.FileFilter

Application only file filter
Hides all files apart from .exe files.

Author:
Alex Della-Croce

Constructor Summary
ExeFileFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
          returns which files to accept
 java.lang.String getDescription()
          returns the description of this filter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExeFileFilter

public ExeFileFilter()
Method Detail

accept

public boolean accept(java.io.File f)
returns which files to accept

Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

public java.lang.String getDescription()
returns the description of this filter

Specified by:
getDescription in class javax.swing.filechooser.FileFilter