org.gcube.data.speciesplugin.utils
Class SourceIdFiller

java.lang.Object
  extended by org.gcube.data.speciesplugin.utils.SourceIdFiller
All Implemented Interfaces:
org.gcube.data.streams.generators.Generator<org.gcube.data.trees.data.Tree,org.gcube.data.trees.data.Tree>

public class SourceIdFiller
extends Object
implements org.gcube.data.streams.generators.Generator<org.gcube.data.trees.data.Tree,org.gcube.data.trees.data.Tree>

Author:
"Federico De Faveri defaveri@isti.cnr.it"

Field Summary
protected  String sourceId
           
 
Fields inherited from interface org.gcube.data.streams.generators.Generator
iteration
 
Constructor Summary
SourceIdFiller(String sourceId)
           
 
Method Summary
 org.gcube.data.trees.data.Tree yield(org.gcube.data.trees.data.Tree element)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceId

protected String sourceId
Constructor Detail

SourceIdFiller

public SourceIdFiller(String sourceId)
Parameters:
sourceId -
Method Detail

yield

public org.gcube.data.trees.data.Tree yield(org.gcube.data.trees.data.Tree element)
                                     throws org.gcube.data.streams.exceptions.StreamSkipSignal,
                                            org.gcube.data.streams.exceptions.StreamStopSignal

Specified by:
yield in interface org.gcube.data.streams.generators.Generator<org.gcube.data.trees.data.Tree,org.gcube.data.trees.data.Tree>
Throws:
org.gcube.data.streams.exceptions.StreamSkipSignal
org.gcube.data.streams.exceptions.StreamStopSignal


Copyright © 2014. All Rights Reserved.