void function ( FileChangeListener arg0 ) { Assert . notNull ( arg0 , "srini_string" ) ; synchronized ( this . monitor ) { checkNotStarted ( ) ; this . listeners . add ( arg0 ) ; } }
add listener for file change events . can not be called after the watcher has been #start started . concode_field_sep Map<File,FolderSnapshot> folders concode_elem_sep List<FileChangeListener> listeners concode_elem_sep boolean daemon concode_elem_sep long DEFAULT_POLL_INTERVAL concode_elem_sep long pollInterval concode_elem_sep long quietPeriod concode_elem_sep AtomicInteger remainingScans concode_elem_sep Map<File,FolderSnapshot> folders concode_elem_sep long DEFAULT_QUIET_PERIOD concode_elem_sep AtomicInteger remainingScans concode_elem_sep FileFilter triggerFilter concode_elem_sep List<FileChangeListener> listeners concode_elem_sep Thread watchThread concode_elem_sep Object monitor concode_field_sep void addSourceFolder concode_elem_sep void saveInitialSnapshots concode_elem_sep void stopAfter concode_elem_sep void start concode_elem_sep void scan concode_elem_sep void run concode_elem_sep void addSourceFolders concode_elem_sep boolean isDifferent concode_elem_sep void setTriggerFilter concode_elem_sep void stop concode_elem_sep Map<File,FolderSnapshot> getCurrentSnapshots concode_elem_sep void fireListeners concode_elem_sep void updateSnapshots concode_elem_sep void checkNotStarted