utils
Class CustomFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by utils.CustomFileFilter

public class CustomFileFilter
extends javax.swing.filechooser.FileFilter

Author:
Charalampos Alexopoulos TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
CustomFileFilter()
           
 
Method Summary
 boolean accept(java.io.File file)
           
 void addInvalid(java.lang.String str)
           
 void addValid(java.lang.String str)
           
 java.lang.String getDescription()
           
 void setDescription(java.lang.String description)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomFileFilter

public CustomFileFilter()
Method Detail

accept

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

getDescription

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

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The description to set.

addValid

public void addValid(java.lang.String str)

addInvalid

public void addInvalid(java.lang.String str)