Question

Using JNotify in project and it fulfill my all requirements, but some times it show inconsistent behavior like

Some time when I cut and paste (Drag and drop) any folder to my root folder it only read the folder not child of that folder (I just pasted) and some times it read all the child files and folder

Some times when I delete folder it only gives message of deletion of that folder (and delete that folder and all its child) and some time it also show its child.

Était-ce utile?

La solution

It looks like limitation in implementation of JNotify.

Look at another approaches of File/directory polling to detect change

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top