• Post Reply Bookmark Topic Watch Topic
  • New Topic

get the list of files from a dir  RSS feed

 
Vijay Kumar
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all ..

is there any way to pick the file from a given directory
on the basis of last access time.

thankx
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the lastModified() method in java.io.File

tx,
ram.
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Chango"

Isn't your real name Kumar Vijay? Please go to your profile and change your name to match your real name. Thanks.

Mark
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!