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
 int count
           
 
Constructor Summary
ResultWrapper(org.gcube.common.core.scope.GCUBEScope scope)
           
 
Method Summary
 boolean add(T input)
           
 void close()
           
 String getLocator()
           
 boolean isClosed()
           
 void register()
           
 void unregister()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count

public int count
Constructor Detail

ResultWrapper

public ResultWrapper(org.gcube.common.core.scope.GCUBEScope scope)
              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 InvalidRecordException,
                   WrapperAlreadyDisposedException
Specified by:
add in class AbstractWrapper<T>
Throws:
InvalidRecordException
WrapperAlreadyDisposedException

unregister

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

register

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

close

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

isClosed

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


Copyright © 2012. All Rights Reserved.