File last accessed and created time
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: File last accessed and created time

  1. #1
    Join Date
    Mar 2008
    Posts
    20

    File last accessed and created time

    Hi, how would one go about retreiving the last accessed and created time of a file in JAVA?
    I can't find any examples on google, and wondered if anyone here knew.

    Thanks

  2. #2
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: File last accessed and created time

    You can get the last modified time via a java.io.File object. If you want anything else you'll have to do it via an OS call either using JNI or java.lang.ProcessBuilder

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center