| 
 | GigaSpaces XAP 8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jini.system.FileObserver
public class FileObserver
Observer class that gets notified when a change has been noted,
 that is a file has been found, by an Observable object. 
 This class is normally passed into a class that extends 
 Observable
Observable, 
Observer, 
FileWalker| Constructor Summary | |
|---|---|
| FileObserver(String suffix)Constructor that allows the user to specify interest in a particular suffix. | |
| Method Summary | |
|---|---|
|  ArrayList | getFileList()Get the complete list of found files. | 
|  ArrayList | getFileTimeList()Get the time stamps of the found files. | 
|  void | update(Observable o,
       Object arg)Called when an Observer monitors a change. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public FileObserver(String suffix)
If suffix is an empty string then all files will be matched.
| Method Detail | 
|---|
public void update(Observable o,
                   Object arg)
update in interface Observerpublic ArrayList getFileList()
public ArrayList getFileTimeList()
getFileList()| 
 | GigaSpaces XAP 8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||