net.kolls.railworld.io
Class RWGFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by net.kolls.railworld.io.RWGFilter

public class RWGFilter
extends javax.swing.filechooser.FileFilter

Returns files matching the RWG extension

Author:
Steve Kollmansberger

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

Constructor Detail

RWGFilter

public RWGFilter()
Method Detail

accept

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

getDescription

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