T - the type for the FileTreeDataViews.Entry datapublic static interface FileTreeDataViews.CacheObserver<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onCreate(FileTreeDataViews.Entry<T> newEntry)
Callback to fire when a new path is created.
|
void |
onDelete(FileTreeDataViews.Entry<T> oldEntry)
Callback to fire when a path is deleted.
|
void |
onError(java.io.IOException exception)
Callback to fire when an error is encountered generating while updating a path.
|
void |
onUpdate(FileTreeDataViews.Entry<T> oldEntry,
FileTreeDataViews.Entry<T> newEntry)
Callback to fire when a path is modified.
|
void onCreate(FileTreeDataViews.Entry<T> newEntry)
newEntry - the FileTreeDataViews.Entry for the newly created filevoid onDelete(FileTreeDataViews.Entry<T> oldEntry)
oldEntry - the FileTreeDataViews.Entry for the deleted.void onUpdate(FileTreeDataViews.Entry<T> oldEntry, FileTreeDataViews.Entry<T> newEntry)
oldEntry - the FileTreeDataViews.Entry for the updated pathnewEntry - the FileTreeDataViews.Entry for the deleted pathvoid onError(java.io.IOException exception)
exception - The exception thrown by the computation