org.trippi.io
Class TripleWriter

java.lang.Object
  extended by org.trippi.io.RDFWriter
      extended by org.trippi.io.TripleWriter
Direct Known Subclasses:
RIOTripleWriter

public abstract class TripleWriter
extends RDFWriter


Constructor Summary
TripleWriter()
           
 
Method Summary
abstract  int write(TripleIterator iter)
          Write the triples 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

TripleWriter

public TripleWriter()
Method Detail

write

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

Throws:
TrippiException