return null;
// If the current file doesn't have an extension, return a filename filter that
// match null extensions.
if((ext = file.getExtension()) == null)
return new AbstractFilenameFilter() {
public boolean accept(String name) {return AbstractFile.getExtension(name) == null;}
};
}
// At this point, ext contains the extension that should be matched.