Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.deploy
Class FileChangeNotifier

java.lang.Object
  extended by org.nuxeo.runtime.deploy.FileChangeNotifier

public class FileChangeNotifier
extends java.lang.Object

Author:
Bogdan Stefanescu

Nested Class Summary
 class FileChangeNotifier.FileEntry
           
 
Constructor Summary
FileChangeNotifier()
           
 
Method Summary
 void addListener(FileChangeListener listener)
           
 void removeListener(FileChangeListener listener)
           
 void start()
           
 void start(int startAfter, int interval)
           
 void stop()
           
 void unwatch(java.io.File file)
           
 void unwatch(java.lang.String id, java.io.File file)
           
 java.lang.String watch(java.io.File file)
           
 java.lang.String watch(java.lang.String id, java.io.File file)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileChangeNotifier

public FileChangeNotifier()
Method Detail

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)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.