SuggestSoft.com

FileTimes 1.6

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.

Updated: 1969-12-31
License: 10.00$
Publisher: Canadian Mind Products
Size: n/a
Require: Java 1.1+
System: Win98, WinME, WinNT3x, WinNT4x, WinXP, Win2000, Win2003, Unix, Linux, LinuxConsole, LinuxGnome, LinuxGPL, AS400, OS2, OS2Warp, OS2Warp4, MacOSX, Java
Language: English
Find similar programs1:
classes 2 3 4 5 6
create date 2 3 4 5 6
directory times 2 3 4 5
java 2 3 4 5 6
last accessed date 2 3 4
last modified date 2 3 4
filetimes

  • Java class library to read and set Windows file/dir times from Java: Create/LastModified . Create time is when the file was first written. LastModified is when the file was last written. Accessed time is when the file was last read or written. Uses JNI native Code. 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.
  • SuggestSoft.com is a internet download site which offers over 70,000 items of freeware or shareware software downloads by end users. SuggestSoft.com has a zero-tolerance policy for ad-ware and spyware, and will not allow software that contain adware of spyware components to be listed on the site.
  • Anti Virus Report 1
  • Anti Virus Report 2
  • Download Program
  • Download's Map