ecologylab.services.logging.playback
Class LogFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by ecologylab.services.logging.playback.LogFileFilter
All Implemented Interfaces:
java.io.FileFilter

public class LogFileFilter
extends javax.swing.filechooser.FileFilter
implements java.io.FileFilter

Log files should be XML files; this file filter only displays files whose filetype is XML.

Author:
Zachary O. Toups (toupsz@cs.tamu.edu)

Field Summary
static LogFileFilter staticInstance
           
 
Constructor Summary
LogFileFilter()
           
 
Method Summary
 boolean accept(java.io.File arg0)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

staticInstance

public static LogFileFilter staticInstance
Constructor Detail

LogFileFilter

public LogFileFilter()
Method Detail

accept

public boolean accept(java.io.File arg0)
Specified by:
accept in interface java.io.FileFilter
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()