Blockquote
I want to filter the files according to its date and time ,but i couldn't find any method in java . please help if any one has any idea about it.`File fil =new File("C:\sujeet\efsfiles\iems\input"); FilenameFilter filter =new FilenameFilter(){ public boolean accept(File fil, String name){
return name.
}};
File[] temp= fil.listFiles(filter);
public void SeeFiles(){
for(File file : temp){
if(file.isFile()) {
count++;
System.out.println(file.getName());
}`
The
FileNameFilter
here won't work as you are looking for the file attribute levelCheck this can be any help