org.trippi.io
Class TupleWriter

java.lang.Object
  extended by org.trippi.io.RDFWriter
      extended by org.trippi.io.TupleWriter
Direct Known Subclasses:
CSVTupleWriter, SimpleTupleWriter, SparqlTupleWriter, TSVTupleWriter

public abstract class TupleWriter
extends RDFWriter


Constructor Summary
TupleWriter()
           
 
Method Summary
abstract  int write(TupleIterator iter)
          Write the tuples from the iterator, close the iterator, and return the number written.
 
Methods inherited from class org.trippi.io.RDFWriter
enc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleWriter

public TupleWriter()
Method Detail

write

public abstract int write(TupleIterator iter)
                   throws TrippiException
Write the tuples from the iterator, close the iterator, and return the number written. Do not close the outputstream.

Throws:
TrippiException