Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 418 → Rev 419

/sun/xmleditor/trunk/src/control/XMLExtensionFilter.java
1,32 → 1,35
package src.control;
 
/** This file contains the XMLExtensionFilter class.
/*
* This file contains the XMLExtensionFilter class.
*
* @author S. McSporran
* Coded by: Group 5, software practice summer 2003
* University of Bielefeld, Germany
*
* @version $Revision: 1.00
* @version $Revision: 1.34 $
*
* Last modification: $Date: 2003/07/11 13:16:43 $
*
* Last modification: $Date: 2003/07/13 14:57:49 $
*/
package src.control;
 
import java.io.File;
 
/** The XMLExtensionFilter class is a file filter that does only
* accept file names with the extension *.xml or *.XML.
/**
* The XMLExtensionFilter class is a file filter that does only
* accept file names with the extension *.xml or *.XML.
*
* @author S. McSporran
* @author S. McSporran
*/
public class XMLExtensionFilter extends javax.swing.filechooser.FileFilter {
ExtExtractor extractor = new ExtExtractor();
 
/** The method accept decides whether a file will be passed by the filter.
/**
* The method accept decides whether a file will be passed by the filter.
*
* author S. McSporran
* @param f: A representation of a file's name.
* author S. McSporran
* @param f: A representation of a file's name.
*
* Last revision: 11-Jul-2003
* Last revision: 11-Jul-2003
*/
public boolean accept(File f) {
52,7 → 55,9
return false;
}
 
/** Implementation of the abstract getDescription method. */
/**
* Implementation of the abstract getDescription method.
*/
public String getDescription() {
return "XML files (*.xml, *.XML)";
}