tico.components.resources
Class VideoFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by tico.components.resources.VideoFilter

public class VideoFilter
extends javax.swing.filechooser.FileFilter

Filter that can be set on a JFileChooser to display only video files (avi, mpg, wmv and flv) and directories.

Version:
e1.0 Oct 22, 2009
Author:
Carolina Palacio

Constructor Summary
VideoFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VideoFilter

public VideoFilter()
Method Detail

accept

public boolean accept(java.io.File f)
Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter