org.gcube.data.harmonization.occurrence.impl.readers
Class OccurrenceReader

java.lang.Object
  extended by org.gcube.data.harmonization.occurrence.impl.readers.OccurrenceReader
All Implemented Interfaces:
OccurrenceStreamer
Direct Known Subclasses:
CSVReader, XMLReader

public abstract class OccurrenceReader
extends Object
implements OccurrenceStreamer


Field Summary
protected  ParserConfiguration configuration
           
protected static org.gcube.common.core.utils.logging.GCUBELog logger
           
protected  StreamProgress progress
           
protected  File toRead
           
protected  org.gcube.data.spd.plugin.fwk.writers.rswrapper.ResultWrapper<org.gcube.data.spd.plugin.fwk.model.OccurrencePoint> wrapper
           
 
Constructor Summary
OccurrenceReader(File toRead, ParserConfiguration configuration)
           
 
Method Summary
 StreamProgress getProgress()
           
 void setWrapper(org.gcube.data.spd.plugin.fwk.writers.rswrapper.ResultWrapper<org.gcube.data.spd.plugin.fwk.model.OccurrencePoint> wrapper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gcube.data.harmonization.occurrence.OccurrenceStreamer
streamData
 

Field Detail

logger

protected static final org.gcube.common.core.utils.logging.GCUBELog logger

progress

protected StreamProgress progress

wrapper

protected org.gcube.data.spd.plugin.fwk.writers.rswrapper.ResultWrapper<org.gcube.data.spd.plugin.fwk.model.OccurrencePoint> wrapper

toRead

protected File toRead

configuration

protected ParserConfiguration configuration
Constructor Detail

OccurrenceReader

public OccurrenceReader(File toRead,
                        ParserConfiguration configuration)
Method Detail

getProgress

public StreamProgress getProgress()
Specified by:
getProgress in interface OccurrenceStreamer

setWrapper

public void setWrapper(org.gcube.data.spd.plugin.fwk.writers.rswrapper.ResultWrapper<org.gcube.data.spd.plugin.fwk.model.OccurrencePoint> wrapper)


Copyright © 2013. All Rights Reserved.