edu.turtlekit2.utils
Class SimuFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by edu.turtlekit2.utils.SimuFilter

public class SimuFilter
extends FileFilter

A simple FileFilter for TurtleKit file types.

Version:
1.0 - 6/2007
Author:
G. Beurier

Field Summary
static String smu
           
static String tk2
           
static String xml
           
 
Constructor Summary
SimuFilter()
           
 
Method Summary
 boolean accept(File f)
           
 String getDescription()
          The description of this filter
 String getExtension(File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xml

public static final String xml
See Also:
Constant Field Values

smu

public static final String smu
See Also:
Constant Field Values

tk2

public static final String tk2
See Also:
Constant Field Values
Constructor Detail

SimuFilter

public SimuFilter()
Method Detail

accept

public boolean accept(File f)
Specified by:
accept in class FileFilter

getExtension

public String getExtension(File f)

getDescription

public String getDescription()
The description of this filter

Specified by:
getDescription in class FileFilter