org.acme.sample.tmplugin
Class SampleWriter

java.lang.Object
  extended by org.gcube.data.tmf.impl.AbstractWriter
      extended by org.acme.sample.tmplugin.SampleWriter
All Implemented Interfaces:
Serializable, org.gcube.data.tmf.api.SourceWriter

public class SampleWriter
extends org.gcube.data.tmf.impl.AbstractWriter

See Also:
Serialized Form

Constructor Summary
SampleWriter(SampleSource source)
           
 
Method Summary
 org.gcube.data.trees.data.Tree add(org.gcube.data.trees.data.Tree tree)
           
 void update(org.gcube.data.trees.data.Tree delta)
           
 
Methods inherited from class org.gcube.data.tmf.impl.AbstractWriter
add, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleWriter

public SampleWriter(SampleSource source)
Method Detail

add

public org.gcube.data.trees.data.Tree add(org.gcube.data.trees.data.Tree tree)
                                   throws org.gcube.data.tml.exceptions.InvalidTreeException,
                                          Exception
Throws:
org.gcube.data.tml.exceptions.InvalidTreeException
Exception

update

public void update(org.gcube.data.trees.data.Tree delta)
            throws org.gcube.data.tml.exceptions.UnknownTreeException,
                   org.gcube.data.tml.exceptions.InvalidTreeException,
                   Exception
Throws:
org.gcube.data.tml.exceptions.UnknownTreeException
org.gcube.data.tml.exceptions.InvalidTreeException
Exception


Copyright © 2012. All Rights Reserved.