is there any way to get the created date and time of a file? like lastModified() method, is there any way to get this also? thanks a lot in advance
posted 10 years ago
I think that because create time is not supported on all operating systems they had to leave it out of Java. If you don't value OS portability you could write a JNI call to a C/C++ module to get the information from OS APIs.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi