On Thu, Oct 29, 2009 at 8:44 PM, Gonzalo Tirapegui Medina
<
tecklastaire@...> wrote:
> Hi !
>
> I'm currently working on a code that make a Memory FileSystem (with
> Netbeans API FileSystem) based on a root folder given by parameter . When i
> read recursively every subdirectory (or file) under the root folder , i
> assign a FileChangeListener class implementation through the following
> instruction :
>
> FileUtil.addFileChangeListener(new MyListener(), tempFile);
>
> i understand this function listen to the PHYSICAL files and directory
> changes (renaming , deleting , adding a new File) and notify to the
> implementation of FileChangeListener to execute the corresponding code , but
> it doesn't work for me .... does anyone knows how to do it?
You may try this
https://jna.dev.java.net/nonav/javadoc/com/sun/jna/examples/FileMonitor.htmlJNA guys are listing NetBeans in "Projects Using JNA".