org.apache.muse.util.xml
Class XmlFileFilter

java.lang.Object
  extended by org.apache.muse.util.xml.XmlFileFilter
All Implemented Interfaces:
FileFilter

public class XmlFileFilter
extends Object
implements FileFilter

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

Author:
Dan Jemiolo (danj)

Constructor Summary
XmlFileFilter()
           
 
Method Summary
 boolean accept(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(File file)
Specified by:
accept in interface 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.


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.