wjhk.jupload2.gui
Class JUploadFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by wjhk.jupload2.gui.JUploadFileFilter

public class JUploadFileFilter
extends FileFilter

Default File Filter used by the DefaultUploadPolicy to filter the allowed file in the JFileChooser. This class is an empty one: it just calls the {


Field Summary
(package private)  UploadPolicy uploadPolicy
           
 
Constructor Summary
JUploadFileFilter(UploadPolicy uploadPolicy)
           
 
Method Summary
 boolean accept(File file)
           
 String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uploadPolicy

UploadPolicy uploadPolicy
Constructor Detail

JUploadFileFilter

JUploadFileFilter(UploadPolicy uploadPolicy)
Method Detail

accept

public boolean accept(File file)
Specified by:
accept in class FileFilter
See Also:
FileFilter.accept(java.io.File)

getDescription

public String getDescription()
Specified by:
getDescription in class FileFilter
See Also:
FileFilter.getDescription()