public class ResourceAlterationObserver
extends java.lang.Object
implements java.io.Serializable
构造器和说明 |
---|
ResourceAlterationObserver(ResourceEntry rootEntry,
Filter<java.lang.String> filter) |
ResourceAlterationObserver(java.lang.String dir) |
ResourceAlterationObserver(java.lang.String dir,
Filter<java.lang.String> filter) |
限定符和类型 | 方法和说明 |
---|---|
void |
addListener(ResourceAlterationListener listener) |
void |
checkAndNotify() |
void |
destroy() |
java.lang.String |
getDirectory() |
java.lang.Iterable<ResourceAlterationListener> |
getListeners() |
ResourceEntry |
getRootEntry() |
void |
initialize() |
void |
removeListener(ResourceAlterationListener listener) |
java.lang.String |
toString() |
public ResourceAlterationObserver(java.lang.String dir)
public ResourceAlterationObserver(java.lang.String dir, Filter<java.lang.String> filter)
public ResourceAlterationObserver(ResourceEntry rootEntry, Filter<java.lang.String> filter)
public java.lang.String getDirectory()
public void addListener(ResourceAlterationListener listener)
public void removeListener(ResourceAlterationListener listener)
public java.lang.Iterable<ResourceAlterationListener> getListeners()
public void initialize()
public void destroy()
public void checkAndNotify()
public ResourceEntry getRootEntry()
public java.lang.String toString()
toString
在类中 java.lang.Object