Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 692 → Rev 693

/sun/xmleditor/trunk/src/control/XMLExtensionFilter.java
4,10 → 4,10
* Coded by: Group 5, software practice summer 2003
* University of Bielefeld, Germany
*
* @version $Revision: 1.9 $
* @version $Revision: 1.10 $
*
* Last modification: $Date: 2003/07/15 18:53:16 $
* $Id: XMLExtensionFilter.java,v 1.9 2003/07/15 18:53:16 smcsporr Exp $
* Last modification: $Date: 2003/07/16 18:19:38 $
* $Id: XMLExtensionFilter.java,v 1.10 2003/07/16 18:19:38 smcsporr Exp $
*/
package src.control;
18,9 → 18,11
* The <b><code>XMLExtensionFilter</code></b> class is a file filter that does only
* accept file names with the extension *.xml or *.XML.
*
* @see javax.swing.filechooser.FileFilter
*
* @author S. McSporran
*
* @version $Revision: 1.9 $ Last modification: $Date: 2003/07/15 18:53:16 $
* @version $Revision: 1.10 $ Last modification: $Date: 2003/07/16 18:19:38 $
*/
public class XMLExtensionFilter extends javax.swing.filechooser.FileFilter {
29,9 → 31,12
/**
* The method <code>accept</code> decides whether a file will be passed by the filter.
*
* author S. McSporran
* @see javax.swing.filechooser.FileFilter#accept
*
* @param f: A representation of a file's name.
*
* author S. McSporran
*
* Last revision: 11-Jul-2003
*/
public boolean accept(File f) {
62,6 → 67,8
* Implementation of the abstract <code>getDescription</code> method. This method
* returns a <code>String</code> with a description, what files will be passed
* through the class' filter.
*
* @see javax.swing.filechooser.FileFilter#getDescription
*/
public String getDescription() {
return "XML files (*.xml, *.XML)";