halo.userinterface.gui.guitools
Class TxtFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by halo.userinterface.gui.guitools.TxtFilter

public class TxtFilter
extends javax.swing.filechooser.FileFilter

File filter that accepts only text files

Author:
Stefanie Kaufmann

Constructor Summary
TxtFilter()
           
 
Method Summary
 boolean accept(java.io.File pathname)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TxtFilter

public TxtFilter()
Method Detail

accept

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

getDescription

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