org.apache.muse.util.xml
Class XsdFileFilter

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

public class XsdFileFilter
extends Object
implements FileFilter

XsdFileFilter is a file filter used to find XML Schema files (*.xsd).

Author:
Dan Jemiolo (danj)

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

XsdFileFilter

public XsdFileFilter()
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 .xsd. The comparison is case-insensitive.


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