org.apache.uima.tools.util.gui
Class XMLFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by org.apache.uima.tools.util.gui.XMLFileFilter

public class XMLFileFilter
extends javax.swing.filechooser.FileFilter

File filter to accept only xml files (.xml extension)


Constructor Summary
XMLFileFilter()
           
 
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

XMLFileFilter

public XMLFileFilter()
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


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.