lhmc.files
Class VideoFileFilter

java.lang.Object
  extended by lhmc.files.VideoFileFilter
All Implemented Interfaces:
java.io.FileFilter

public class VideoFileFilter
extends java.lang.Object
implements java.io.FileFilter

VideoFileFilter is an instance of the FileFilter interface Aceept all directories and image formats that our plugins can display.

Version:
0.01 Jun 2007
Author:
Cristina Roura Claver

Constructor Summary
VideoFileFilter()
           
 
Method Summary
 boolean accept(java.io.File file)
          Accept all directories and all mpg, mpeg, m1v, bin(VCD/SVCD Images), vob, avi, divx, mov, qt, asf, viv, rm, wmv, ogm, mkv, fli, flc and mvv formats.
 boolean accept(SmbFile file)
          Accept all directories and all mpg, mpeg, m1v, bin(VCD/SVCD Images), vob, avi, divx, mov, qt, asf, viv, rm, wmv, ogm, mkv, fli, flc and mvv formats.
 boolean accept(java.net.URL url)
          Accept all directories and all mpg, mpeg, m1v, bin(VCD/SVCD Images), vob, avi, divx, mov, qt, asf, viv, rm, wmv, ogm, mkv, fli, flc and mvv formats.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VideoFileFilter

public VideoFileFilter()
Method Detail

accept

public boolean accept(java.net.URL url)
Accept all directories and all mpg, mpeg, m1v, bin(VCD/SVCD Images), vob, avi, divx, mov, qt, asf, viv, rm, wmv, ogm, mkv, fli, flc and mvv formats. This are all formats suported by Mplayer.

Parameters:
url - The URL to accept.
Returns:
True if its accepted.

accept

public boolean accept(java.io.File file)
Accept all directories and all mpg, mpeg, m1v, bin(VCD/SVCD Images), vob, avi, divx, mov, qt, asf, viv, rm, wmv, ogm, mkv, fli, flc and mvv formats. This are all formats suported by Mplayer.

Specified by:
accept in interface java.io.FileFilter
Parameters:
file - The file to accept.
Returns:
True if its accepted.

accept

public boolean accept(SmbFile file)
Accept all directories and all mpg, mpeg, m1v, bin(VCD/SVCD Images), vob, avi, divx, mov, qt, asf, viv, rm, wmv, ogm, mkv, fli, flc and mvv formats. This are all formats suported by Mplayer.

Specified by:
accept in interface java.io.FileFilter
Parameters:
file - The smbfile to accept.
Returns:
True if its accepted.