org.apache.muse.util.xml
Class XmlFileFilter
java.lang.Object
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlFileFilter
public XmlFileFilter()
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.