project35.util
Class HTMLFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by project35.util.HTMLFileFilter

public class HTMLFileFilter
extends javax.swing.filechooser.FileFilter

This class is used by file choosers to show only *.xml files. The file was migrated from Pierre because I thought it would eventually find use in the Project35 code base.


Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.


Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net),

Constructor Summary
HTMLFileFilter()
           
 
Method Summary
 boolean accept(java.io.File file)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLFileFilter

public HTMLFileFilter()
Method Detail

accept

public boolean accept(java.io.File file)
Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter