lhmc.files
Class SuportedFilesFileFilter

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

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

SuportedFilesFileFilter is an instance of the FileFilter interface Aceept all directories and image, audio and video formats that our plugins can display.

Version:
0.01 20 Jun 2007
Author:
Cristina Roura Claver

Constructor Summary
SuportedFilesFileFilter()
           
 
Method Summary
 boolean accept(java.io.File file)
          Accept all directories and all fileformats accepted by the image, audio and video filefilters.
 boolean accept(SmbFile file)
          Accept all directories and all fileformats accepted by the image, audio and video filefilters.
 boolean accept(java.net.URL url)
          Accept all directories and all fileformats accepted by the image, audio and video filefilters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuportedFilesFileFilter

public SuportedFilesFileFilter()
Method Detail

accept

public boolean accept(java.net.URL url)
Accept all directories and all fileformats accepted by the image, audio and video filefilters.

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

accept

public boolean accept(java.io.File file)
Accept all directories and all fileformats accepted by the image, audio and video filefilters.

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 fileformats accepted by the image, audio and video filefilters.

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