org.apache.jena.riot.lang
Class CollectorStreamQuads

java.lang.Object
  extended by org.apache.jena.riot.lang.CollectorStreamBase<Quad>
      extended by org.apache.jena.riot.lang.CollectorStreamQuads
All Implemented Interfaces:
StreamRDF

public class CollectorStreamQuads
extends CollectorStreamBase<Quad>
implements StreamRDF

Collector stream for quads.

See Also:
CollectorStreamBase

Constructor Summary
CollectorStreamQuads()
           
 
Method Summary
 Collection<Quad> getCollected()
           
 void quad(Quad quad)
          Quad emitted
 void start()
          Start parsing
 
Methods inherited from class org.apache.jena.riot.lang.CollectorStreamBase
base, finish, getBaseIri, getPrefixes, prefix, triple, tuple
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jena.riot.system.StreamRDF
base, finish, prefix, triple, tuple
 

Constructor Detail

CollectorStreamQuads

public CollectorStreamQuads()
Method Detail

start

public void start()
Description copied from interface: StreamRDF
Start parsing

Specified by:
start in interface StreamRDF
Overrides:
start in class CollectorStreamBase<Quad>

quad

public void quad(Quad quad)
Description copied from interface: StreamRDF
Quad emitted

Specified by:
quad in interface StreamRDF
Overrides:
quad in class CollectorStreamBase<Quad>

getCollected

public Collection<Quad> getCollected()
Specified by:
getCollected in class CollectorStreamBase<Quad>
Returns:
The collection received by this instance.


Licenced under the Apache License, Version 2.0