SMILA 1.0 API documentation

org.eclipse.smila.importing.crawler.web.producer
Class SimpleRecordProducer

java.lang.Object
  extended by org.eclipse.smila.importing.crawler.web.producer.SimpleRecordProducer
All Implemented Interfaces:
RecordProducer

public class SimpleRecordProducer
extends java.lang.Object
implements RecordProducer

Really simple implementation of RecordProducer that just returns the unchanged input.


Constructor Summary
SimpleRecordProducer()
           
 
Method Summary
 java.util.Collection<Record> produceRecords(Record record, AnyMap parameters, TaskLog log)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleRecordProducer

public SimpleRecordProducer()
Method Detail

produceRecords

public java.util.Collection<Record> produceRecords(Record record,
                                                   AnyMap parameters,
                                                   TaskLog log)
                                            throws WebCrawlerException
Specified by:
produceRecords in interface RecordProducer
Returns:
collection of records, maybe empty. May also return more than one if input record is split.
Throws:
WebCrawlerException

SMILA 1.0 API documentation