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
IOExceptionpublic String watch(String id, File file) throws IOException
IOExceptionpublic void unwatch(File file) throws IOException
IOExceptionpublic void unwatch(String id, File file) throws IOException
IOExceptionpublic void addListener(FileChangeListener listener)
public void removeListener(FileChangeListener listener)
Copyright © 2013 Nuxeo SA. All Rights Reserved.