Software        
 
     Search Software    

FileTimes 1.9 - Read and set Windows file/dir times from Java

Read and set Windows file/dir times from Java

FileTimes



 

FileTimes: Java class library to get/set file and directory times: Create/LastModified/LastAccessed. For Windows only.



Create time is when the file was first written. Modified

time (sometimes called lastModified) is when the file was

last written. Accessed time is when the file was last read

or written. Checking its date, looking at its attributes or

checking to see if it exists does not count as reading it.



Get/Set Windows File Times Create/LastAccessed/LastModified

with a JNI native code class.



Java and JNI you include in your own code.



You can test with



C:

CD \com.mindprod.filetimes

java com.mindprod.filetimes.FileTimes



and ensuring nativefiletimes.dll is on the path, e.g. in the

current directory. In JDK 1.5+ the DLL may be in the jar, so

long is it has no package path name.



See FileTimes.java for the API to use these methods in your

own programs. FileTimes does nothing by itself, other than a

debugging test harness to demonstrate the methods.



Windows keeps file timestamps accurate to 100 nanoseconds

with 10,000 times as much precision as Java's 1 ms. This

means if you copy a file in Java, the new file will not

have the exact same timestamp as the old. This package

retrieves and sets timestamps accurate only to the

millisecond.

What is new in version 1.9:

fix problem with Microsoft C++ runtime library




 

Order:

For Free

Download: Download FileTimes 1.9 (0.6 Mb)
Download Count:17
Release Date:1969-12-31
Last Updated:1969-12-31
Manufacturer: Canadian Mind Products
Product Support: FileTimes WebSite
  
Language:English
Requirements:Java 1.1+
Install:No Install Support
Tags:

classes 2 3 4 5 6 7      create date 2 3      directory times 2 3      java 2 3 4 5 6 7 8 9 10      last accessed date  last modified date  filetimes 


 

Soft411: Software Download Archive and Directory

© 2003-2009 Soft411.com Directory.

Soft411.com periodically updates pricing and product information from third-party sources,
so some information may be slightly out-of-date. You should confirm all information before relying on it.