Class MovieFilenameFilter

java.lang.Object
  extended byMovieFilenameFilter
All Implemented Interfaces:
java.io.FilenameFilter

public class MovieFilenameFilter
extends java.lang.Object
implements java.io.FilenameFilter


Constructor Summary
MovieFilenameFilter()
           
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
          Overrides abstract method accept from interface FilenameFilter Contains the following file extensions: mov,MOV,avi,AVI,mpg,MPG,mpeg,MPEG
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MovieFilenameFilter

public MovieFilenameFilter()
Method Detail

accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
Overrides abstract method accept from interface FilenameFilter Contains the following file extensions: mov,MOV,avi,AVI,mpg,MPG,mpeg,MPEG

Specified by:
accept in interface java.io.FilenameFilter
Parameters:
dir - Directory in which the file is located
name - Filename to be verified
Returns:
true if filename matches filter, else false
See Also:
FilenameFilter