Package org.sf.mustru.crawl

Examples of org.sf.mustru.crawl.CrawlConfig


   */
  public CrawlConfigWizard(boolean setup)
  { 
   //*-- read from the file or initialize the configuration
   setWindowTitle("Crawl Configuration wizard");
   crawlConfig = new CrawlConfig(setup);
   }
View Full Code Here


public OnlineIndex(Shell parentShell)
{ super(parentShell);  addMenuBar(); addToolBar(SWT.FLAT);
   args = new String[2];

   //*-- set the index and database directories
   CrawlConfig crawlConfig = new CrawlConfig(false);   //*-- initialize from the properties file
   Constants.setDBDIR( crawlConfig.getDbDir() ); Constants.setINDEXDIR( crawlConfig.getIndexDir() );
   Constants.setWEBDIR(crawlConfig.getWebDir());
   createDbEnv();  
//addStatusLine();
}
View Full Code Here

 
  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

Related Classes of org.sf.mustru.crawl.CrawlConfig

Copyright © 2018 www.massapicom. 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.