tppt.util
Class ReportFileFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--tppt.util.ReportFileFilter

public class ReportFileFilter
extends javax.swing.filechooser.FileFilter

Report File Filter is used when the user chooses to save a performance measurement report file. All report files have the extension 'wri' for easy invokation of Wordpad application in Windows.

Version:
1.1 04/25/00
Author:
Helen Yi Ren
See Also:
ReportFrame

Constructor Summary
ReportFileFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
          Accepts all directories and all .wri files

 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

ReportFileFilter

public ReportFileFilter()
Method Detail

accept

public boolean accept(java.io.File f)
Accepts all directories and all .wri files

Overrides:
accept in class javax.swing.filechooser.FileFilter
Returns:
true for directories or .wri files, false otherwise

getDescription

public java.lang.String getDescription()
Overrides:
getDescription in class javax.swing.filechooser.FileFilter
Returns:
the description of the Exp file filter