org.apache.muse.util.xml
Class XmlFileFilter

java.lang.Object
  extended byorg.apache.muse.util.xml.XmlFileFilter
All Implemented Interfaces:
java.io.FileFilter

public class XmlFileFilter
extends java.lang.Object
implements java.io.FileFilter

XmlFileFilter is a file filter used to find XML files (*.xml).

Author:
Dan Jemiolo (danj)

Constructor Summary
XmlFileFilter()
           
 
Method Summary
 boolean accept(java.io.File file)
           
 
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 interface java.io.FileFilter
Returns:
True if the file is a "regular" file (not a directory) and has a name that ends with .xml. The comparison is case-insensitive.