Removed unuseful htmlize option in configuration file.

This commit is contained in:
Christian P. MOMON 2024-08-14 02:46:06 +02:00
parent eca3d45fb6
commit b9f67d8363
2 changed files with 2 additions and 19 deletions

View file

@ -317,23 +317,6 @@ public class Configuration extends PathPropertyList
return result;
}
/**
* Gets the htmlize input URL.
*
* @return the htmlize input URL
* @throws MalformedURLException
* the malformed URL exception
*/
public URL getHtmlizeInputURL() throws MalformedURLException
{
URL result;
result = new URL(get("conf.htmlize.input"));
//
return result;
}
/**
* Gets the probe http access log date pattern.
*

View file

@ -65,7 +65,7 @@ public class StatoolInfosContext
this.configuration = Factory.loadConfiguration(configurationFile);
logger.info("Cache setting: {}", this.configuration.getCrawlCachePath());
logger.info("Htmlize input setting: {}", this.configuration.getHtmlizeInputURL());
logger.info("Cache input setting: {}", this.configuration.getCrawlInputURL());
this.cache = new CrawlCache(this.configuration.getCrawlCacheDirectory());
@ -73,7 +73,7 @@ public class StatoolInfosContext
{
long startTime = System.currentTimeMillis();
System.out.println("Loading configuration file.");
this.federation = Factory.loadFederation(this.configuration.getHtmlizeInputURL(), this.cache);
this.federation = Factory.loadFederation(this.configuration.getCrawlInputURL(), this.cache);
if (this.configuration.isCategoryFileDefined())
{
this.categories = Factory.loadCategories(this.configuration.getCategoryFile(), this.federation);