String confFile = (String)properties.get(HTML_EXTRACTOR_REGISTRY);
if (confFile != null && confFile.trim().length() > 0) {
htmlExtractors = confFile;
}
try {
this.htmlExtractorRegistry = new HtmlExtractionRegistry(htmlExtractors);
}
catch (InitializationException e) {
LOG.error("Registry Initialization Error: " + e.getMessage());
throw new IOException(e.getMessage());
}