net.sourceforge.ganttproject
Class GanttXMLFileFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--net.sourceforge.ganttproject.GanttXMLFileFilter

public class GanttXMLFileFilter
extends javax.swing.filechooser.FileFilter

Class to select a filter for the FileChooser objet (*.xml)


Constructor Summary
GanttXMLFileFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
          Is the file OK??.
 java.lang.String getDescription()
          Description of the file
static java.lang.String getExtension(java.io.File f)
          Extention return
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GanttXMLFileFilter

public GanttXMLFileFilter()
Method Detail

accept

public boolean accept(java.io.File f)
Is the file OK??.

Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

public java.lang.String getDescription()
Description of the file

Specified by:
getDescription in class javax.swing.filechooser.FileFilter

getExtension

public static java.lang.String getExtension(java.io.File f)
Extention return



Copyright © 2002 Alexandre THOMAS.