J
J_Zanetti
Hello everyone,
Im trying to sort the content of a directory (a file list) according
to the lastModified attribute of the object.
I get the array of files in this way:
File file = new File(directoryname);
String listoffile[] = file.list();
I would like that this listoffile[] array contains the files sorted by
its lastModified date...
is there any way to do that?
thanks everyone who can help me
Im trying to sort the content of a directory (a file list) according
to the lastModified attribute of the object.
I get the array of files in this way:
File file = new File(directoryname);
String listoffile[] = file.list();
I would like that this listoffile[] array contains the files sorted by
its lastModified date...
is there any way to do that?
thanks everyone who can help me