org.nuxeo.runtime.deploy
Class FileChangeNotifier
java.lang.Object
org.nuxeo.runtime.deploy.FileChangeNotifier
public class FileChangeNotifier
- extends java.lang.Object
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileChangeNotifier
public FileChangeNotifier()
start
public void start(int startAfter,
int interval)
start
public void start()
stop
public void stop()
watch
public java.lang.String watch(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
watch
public java.lang.String watch(java.lang.String id,
java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
unwatch
public void unwatch(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
unwatch
public void unwatch(java.lang.String id,
java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
addListener
public void addListener(FileChangeListener listener)
removeListener
public void removeListener(FileChangeListener listener)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.