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

java.lang.Object
  extended by org.gcube.data.spd.plugin.fwk.writers.AbstractWriter<T>
All Implemented Interfaces:
ClosableWriter<T>, ObjectWriter<T>
Direct Known Subclasses:
Writer

public abstract class AbstractWriter<T>
extends Object
implements ClosableWriter<T>


Field Summary
protected  boolean closed
           
protected  int wrote
           
 
Constructor Summary
protected AbstractWriter(AbstractWrapper<T> wrapper)
           
 
Method Summary
 void close()
           
protected  AbstractWrapper<T> getWrapper()
           
 void register()
           
 void register(int links)
           
 
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.spd.plugin.fwk.writers.ObjectWriter
isAlive, write, write
 

Field Detail

closed

protected boolean closed

wrote

protected int wrote
Constructor Detail

AbstractWriter

protected AbstractWriter(AbstractWrapper<T> wrapper)
Method Detail

getWrapper

protected AbstractWrapper<T> getWrapper()

register

public void register()

register

public void register(int links)

close

public void close()
Specified by:
close in interface ClosableWriter<T>


Copyright © 2013. All Rights Reserved.