org.gcube.data.spd.plugin.fwk.writers.rswrapper
Class ResultWrapper<T>

java.lang.Object
  extended by org.gcube.data.spd.plugin.fwk.writers.rswrapper.AbstractWrapper<T>
      extended by org.gcube.data.spd.plugin.fwk.writers.rswrapper.ResultWrapper<T>

public class ResultWrapper<T>
extends AbstractWrapper<T>


Field Summary
 
Fields inherited from class org.gcube.data.spd.plugin.fwk.writers.rswrapper.AbstractWrapper
links
 
Constructor Summary
ResultWrapper()
           
 
Method Summary
 boolean add(org.gcube.data.spd.model.exceptions.StreamException result)
           
 boolean add(T input)
           
 void close()
           
 String getLocator()
           
 boolean isClosed()
           
 
Methods inherited from class org.gcube.data.spd.plugin.fwk.writers.rswrapper.AbstractWrapper
register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultWrapper

public ResultWrapper()
              throws Exception
Throws:
Exception
Method Detail

getLocator

public String getLocator()
                  throws gr.uoa.di.madgik.grs.writer.GRS2WriterException
Specified by:
getLocator in class AbstractWrapper<T>
Throws:
gr.uoa.di.madgik.grs.writer.GRS2WriterException

add

public boolean add(T input)
            throws org.gcube.data.spd.model.exceptions.InvalidRecordException,
                   org.gcube.data.spd.model.exceptions.WrapperAlreadyDisposedException
Specified by:
add in class AbstractWrapper<T>
Throws:
org.gcube.data.spd.model.exceptions.InvalidRecordException
org.gcube.data.spd.model.exceptions.WrapperAlreadyDisposedException

close

public void close()
Specified by:
close in class AbstractWrapper<T>

isClosed

public boolean isClosed()
Specified by:
isClosed in class AbstractWrapper<T>

add

public boolean add(org.gcube.data.spd.model.exceptions.StreamException result)
            throws org.gcube.data.spd.model.exceptions.InvalidRecordException,
                   org.gcube.data.spd.model.exceptions.WrapperAlreadyDisposedException
Specified by:
add in class AbstractWrapper<T>
Throws:
org.gcube.data.spd.model.exceptions.InvalidRecordException
org.gcube.data.spd.model.exceptions.WrapperAlreadyDisposedException


Copyright © 2013. All Rights Reserved.