Examples of CrawlConfig


Examples of org.sf.mustru.crawl.CrawlConfig

 
  PropertyConfigurator.configure (Constants.LOG4J_FILE);
  logger = Logger.getLogger(Search.class.getName());

  //*-- set the index and database directories
  CrawlConfig crawlConfig = new CrawlConfig(false);   //*-- initialize from the properties file
  Constants.setDBDIR( crawlConfig.getDbDir() ); Constants.setINDEXDIR( crawlConfig.getIndexDir() );

  //*-- Create the Berkeley DB environment for read only access
  dbt = new DbTools(); dbt.openEnv(Constants.getDBDIR(), true);
  Constants.setDbt(dbt);
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.