com.norconex.collector.http
Class HttpCollectorConfig

java.lang.Object
  extended by com.norconex.collector.http.HttpCollectorConfig
All Implemented Interfaces:
Serializable, Cloneable

public class HttpCollectorConfig
extends Object
implements Cloneable, Serializable

HTTP Collector configuration.

Author:
Pascal Essiembre
See Also:
Serialized Form

Field Summary
static String DEFAULT_LOGS_DIR
           
static String DEFAULT_PROGRESS_DIR
           
 
Constructor Summary
HttpCollectorConfig(String id)
          Creates a new collector with the given unique id.
 
Method Summary
 HttpCrawlerConfig[] getCrawlerConfigs()
           
 String getId()
           
 String getLogsDir()
           
 String getProgressDir()
           
 void setCrawlerConfigs(HttpCrawlerConfig[] crawlerConfigs)
           
 void setId(String id)
           
 void setLogsDir(String logsDir)
           
 void setProgressDir(String progressDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_LOGS_DIR

public static final String DEFAULT_LOGS_DIR
See Also:
Constant Field Values

DEFAULT_PROGRESS_DIR

public static final String DEFAULT_PROGRESS_DIR
See Also:
Constant Field Values
Constructor Detail

HttpCollectorConfig

public HttpCollectorConfig(String id)
Creates a new collector with the given unique id. It is important the id of the collector is unique amongst your collectors. This facilitates integration with different systems and facilitates tracking.

Parameters:
id - unique identifier
Method Detail

getId

public String getId()

setId

public void setId(String id)

getCrawlerConfigs

public HttpCrawlerConfig[] getCrawlerConfigs()

setCrawlerConfigs

public void setCrawlerConfigs(HttpCrawlerConfig[] crawlerConfigs)

getProgressDir

public String getProgressDir()

setProgressDir

public void setProgressDir(String progressDir)

getLogsDir

public String getLogsDir()

setLogsDir

public void setLogsDir(String logsDir)


Copyright © 2009-2013 Norconex Inc.. All Rights Reserved.