Watching Filesystem without JNI

Hi,

is there an effective way to watch and manage a folder without JNI?

For example, if there is a huge file which gets stored in this folder, how can i check that the file finished the saving process? So that the file is ready to work with it.

Maybe there exists a pattern or a framework, which can help me with that?

thx a lot...

Ray

[372 byte] By [raynica] at [2007-11-27 7:30:27]
# 1
Might want to check the api on the File class. Not sure off the top of my head whether it has a means to determine if a file in transition is complete or not. http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.htmlPS.
puckstopper31a at 2007-7-12 19:10:40 > top of Java-index,Desktop,Developing for the Desktop...