Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tim stamps of saved files

 
Anuj Anand
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way in java where we can get time stamps of saved files in a directory through java
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the lastModified method of the class File good enough?

Moving this from Servlets -> Java In General (Beginner)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic