DLESE Tools
v1.6.0

org.dlese.dpc.xml
Class XMLFileFilter

java.lang.Object
  extended by org.dlese.dpc.xml.XMLFileFilter
All Implemented Interfaces:
FileFilter

public class XMLFileFilter
extends Object
implements FileFilter

A FileFilter for xml files. Filters for files that end in '.xml' or '.XML'. Instances of this class may be passed to the File.listFiles(FileFilter) method of the File class.

Author:
John Weatherley

Constructor Summary
XMLFileFilter()
           
 
Method Summary
 boolean accept(File file)
          A FileFilter for xml files.
 
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)
A FileFilter for xml files. Filters for files that end in '.xml' or '.XML'.

Specified by:
accept in interface FileFilter
Parameters:
file - The file in question.
Returns:
True if the file ends in '.xml' or '.XML'.

DLESE Tools
v1.6.0