insensa.view.dialogs.helper
Class SingleFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by insensa.view.dialogs.helper.SingleFileFilter

public class SingleFileFilter
extends javax.swing.filechooser.FileFilter

Author:
dennis

Field Summary
private  insensa.imports.FileDescription fileDescription
           
 
Constructor Summary
SingleFileFilter(insensa.imports.FileDescription fileDescription)
           
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileDescription

private insensa.imports.FileDescription fileDescription
Constructor Detail

SingleFileFilter

public SingleFileFilter(insensa.imports.FileDescription fileDescription)
Method Detail

accept

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

getDescription

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