register the given directory , and all its sub-directories , with the watchservice . concode_field_sep WatchService watcher concode_elem_sep Map<WatchEventListener,ClassLoader> classLoaderListeners concode_elem_sep Path path concode_elem_sep boolean stopped concode_elem_sep AgentLogger LOGGER concode_elem_sep Map<WatchKey,Path> keys concode_elem_sep Map<Path,List<WatchEventListener>> listeners concode_elem_sep Thread runner concode_elem_sep WatchEvent event concode_field_sep FileEvent toAgentEvent concode_elem_sep void callListeners concode_elem_sep boolean isFile concode_elem_sep void run concode_elem_sep void addDirectory concode_elem_sep WatchEvent<T> cast concode_elem_sep FileEvent getEventType concode_elem_sep void stop concode_elem_sep int hashCode concode_elem_sep boolean processEvents concode_elem_sep boolean equals concode_elem_sep WatchEvent.Modifier get_com_sun_nio_file_SensitivityWatchEventModifier_HIGH concode_elem_sep String toString concode_elem_sep void closeClassLoader concode_elem_sep URI getURI concode_elem_sep boolean isDirectory concode_elem_sep void addEventListener concode_elem_sep void addEventListener concode_elem_sep void register
void function ( final Path arg0 ) { Files . walkFileTree ( arg0 , new SimpleFileVisitor < Path > ( ) { @ Override public FileVisitResult preVisitDirectory ( Path arg1 , BasicFileAttributes arg2 ) throws IOException { register ( arg1 ) ; return FileVisitResult . CONTINUE ; } } ) ; }