public void reload(Filter<String> keepers) throws BookException { // Always run if it is filtered // Always run if a filter is supplied // Do not run if it is already not filtered and no filter is supplied if (!filtered && keepers == null) { return; } this.supported = true; if (configJSword != null) { configJSword.clear(); } if (configFrontend != null) { configFrontend.clear(); } try { if (installed) { loadFile(keepers); } else { byte[] buffer = IOUtil.getZipEntry(bookConf); loadBuffer(buffer, keepers); } adjustConfig(); report(configAll); this.configJSword = addConfig(MetaDataLocator.JSWORD); this.configFrontend = addConfig(MetaDataLocator.FRONTEND); } catch (IOException ex) { throw new BookException("unable to load conf", ex); } }