Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 545 → Rev 546

/sun/xmleditor/trunk/src/control/GrammarExtensionFilter.java
4,9 → 4,9
* 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:21:43 $
* Last modification: $Date: 2003/07/15 18:52:06 $
*/
 
package src.control;
19,7 → 19,7
*
* @author S. McSporran
*
* @version $Revision: 1.58 $ Last modification: $Date: 2003/07/15 18:31:37 $
* @version $Revision: 1.10 $ Last modification: $Date: 2003/07/15 18:52:06 $
*/
public class GrammarExtensionFilter extends javax.swing.filechooser.FileFilter {
26,12 → 26,12
ExtExtractor extractor = new ExtExtractor();
 
/**
* The method <code>accept</code> decides whether a file will be passed by the filter.
* The method <code>accept</code> decides whether a file will be passed by the filter.
*
* author S. McSporran
* @param f: A representation of a file's name.
*
* Last revision: 11-Jul-2003
* Last revision: 11-Jul-2003 by S. McSporran
*/
public boolean accept(File f) {
61,9 → 61,12
}
 
/**
* Implementation of the abstract <code>getDescription</code> method.
* 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.
*/
public String getDescription() {
return "XML grammar files (*.dtd, *.DTD, *.xsd, *.XSD)";
}
}