/** Make sure the resources associated with this directory and pathPrefixSet are up-to-date. */ public void refreshResources() throws IOException { if (isWatchServiceActive()) { refresh(); } else { fullRefresh(); } }