org.nuxeo.runtime.deploy
Class FileChangeNotifier
java.lang.Object
org.nuxeo.runtime.deploy.FileChangeNotifier
public class FileChangeNotifier
- extends Object
- Author:
- Bogdan Stefanescu
FileChangeNotifier
public FileChangeNotifier()
start
public void start(int startAfter,
int interval)
start
public void start()
stop
public void stop()
watch
public String watch(File file)
throws IOException
- Throws:
IOException
watch
public String watch(String id,
File file)
throws IOException
- Throws:
IOException
unwatch
public void unwatch(File file)
throws IOException
- Throws:
IOException
unwatch
public void unwatch(String id,
File file)
throws IOException
- Throws:
IOException
addListener
public void addListener(FileChangeListener listener)
removeListener
public void removeListener(FileChangeListener listener)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.