public class FileChangeNotifier extends Object
Modifier and Type | Class and Description |
---|---|
class |
FileChangeNotifier.FileEntry |
Constructor and Description |
---|
FileChangeNotifier() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(FileChangeListener listener) |
void |
removeListener(FileChangeListener listener) |
void |
start() |
void |
start(int startAfter,
int interval) |
void |
stop() |
void |
unwatch(File file) |
void |
unwatch(String id,
File file) |
String |
watch(File file) |
String |
watch(String id,
File file) |
public void start(int startAfter, int interval)
public void start()
public void stop()
public String watch(File file) throws IOException
IOException
public String watch(String id, File file) throws IOException
IOException
public void unwatch(File file) throws IOException
IOException
public void unwatch(String id, File file) throws IOException
IOException
public void addListener(FileChangeListener listener)
public void removeListener(FileChangeListener listener)
Copyright © 2013 Nuxeo SA. All Rights Reserved.