hi!
File[] l_files = new File("your path").listFiles(new FileFilter() {
public boolean accept(File a_pathName)
{
if(a_pathName.isDirectory())
return false;
if(a_pathName.exists() == false)
return false;
String l_strFileName = a_pathName.getAbsolutePath().toLowerCase();
if(l_strFileName.endsWith("tbl") ||
l_strFileName.endsWith("waf") ||
l_strFileName.endsWith("wbf"))
{
return true;
}
return false;
}
});
regards
Aniruddha