Package org.dlese.dpc.xml
Class XMLFileFilter
java.lang.Object
org.dlese.dpc.xml.XMLFileFilter
- All Implemented Interfaces:
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
Constructors -
Method Summary
-
Constructor Details
-
XMLFileFilter
public XMLFileFilter()
-
-
Method Details
-
accept
A FileFilter for xml files. Filters for files that end in '.xml' or '.XML'.- Specified by:
acceptin interfaceFileFilter- Parameters:
file- The file in question.- Returns:
- True if the file ends in '.xml' or '.XML'.
-