Class FilesystemCollector

java.lang.Object
com.norconex.collector.core.Collector
com.norconex.collector.fs.FilesystemCollector

public class FilesystemCollector extends Collector
Main application class. In order to use it properly, you must first configure it, either by providing a populated instance of FilesystemCollectorConfig, or by XML configuration, loaded using a collector config loader. Instances of this class can hold several crawler, running at once. This is convenient when there are configuration setting to be shared amongst crawlers. When you have many crawler jobs defined that have nothing in common, it may be best to configure and run them separately, to facilitate troubleshooting. There is no fair rule for this, experimentation will help you.
Author:
Pascal Essiembre
  • Constructor Details

    • FilesystemCollector

      public FilesystemCollector()
      Creates a non-configured Filesystem collector.
    • FilesystemCollector

      public FilesystemCollector(FilesystemCollectorConfig collectorConfig)
      Creates and configure an HTTP Collector with the provided configuration.
      Parameters:
      collectorConfig - HTTP Collector configuration
  • Method Details