|
Re: Java.io
|
Posted: Nov 15, 2005 2:13 AM
|
|
If the other program really writes into this file and does not just write into a buffer and only writes to the file when closing it, there should be no problem at all. It definitively won't work if the other program writes to a buffer.
If you want to get the changes in real-time, that's another story. Then you have to create for example a timer wich checks the time the file was modified last. If this time is different then the last time you checked re-read the whole file and check for differences.
|
|