ter.XML
Class XMLFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--ter.XML.XMLFilter

public class XMLFilter
extends javax.swing.filechooser.FileFilter

Title: XMLFilter

Description: just a little XML filter for the JFileChooser

Company: UNSA

Version:
1.0
Author:
Lucas Charbit - Jerome Gahide - Galbois Xavier - Gabriel Zerbib

Constructor Summary
XMLFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
          return true if the file f is accepted by the Filter
 java.lang.String getDescription()
          get the description of Filter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLFilter

public XMLFilter()
Method Detail

accept

public boolean accept(java.io.File f)
return true if the file f is accepted by the Filter

Specified by:
accept in class javax.swing.filechooser.FileFilter
Parameters:
f - the File to test
Returns:
true if the file f is accepted by the Filter

getDescription

public java.lang.String getDescription()
get the description of Filter

Specified by:
getDescription in class javax.swing.filechooser.FileFilter
Returns:
a String that represents the name of Filter