@@ -0,0 +1,238 @@
+package com.lucene;%0A%0Aimport java.io.File;%0Aimport java.io.FileFilter;%0A%0Apublic class TextFileFilter implements FileFilter %7B%0A%0A%09@Override%0A%09public boolean accept(File pathname) %7B%0A%09%09return pathname.getName().toLowerCase().endsWith(%22.xls%22);%0A%09%7D%0A%7D

Handle only .xls Files in Data Path Directory