org.apache.jena.riot.lang
Class CollectorStreamQuads
java.lang.Object
org.apache.jena.riot.lang.CollectorStreamBase<Quad>
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
CollectorStreamQuads
public CollectorStreamQuads()
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