public class StreamRDFLib extends Object
| Constructor and Description |
|---|
StreamRDFLib() |
public static StreamRDF sinkNull()
public static StreamRDF writer(OutputStream out)
StreamRDF that outputs to an OutputStream. It is important
to call StreamRDF.start() and StreamRDF.finish() because the output is
buffered.public static StreamRDF writer(org.apache.jena.atlas.io.AWriter out)
public static StreamRDF writer(Writer out)
StreamRDF that outputs to an Writer. It is important to
call StreamRDF.start() and StreamRDF.finish() because the output is
buffered.public static StreamRDF writer(OutputStream out, org.apache.jena.atlas.lib.CharSpace charSpace)
StreamRDF that outputs to an OutputStream with a specific
CharSpace (ASCII or UTF-8).
It is important to call StreamRDF.start()
and StreamRDF.finish() because the output is buffered.
public static StreamRDF writer(org.apache.jena.atlas.io.AWriter out, org.apache.jena.atlas.lib.CharSpace charSpace)
StreamRDF that outputs to an OutputStream with a specific
CharSpace (ASCII or UTF-8).
It is important to call StreamRDF.start()
and StreamRDF.finish() because the output is buffered.
public static StreamRDF writer(Writer out, org.apache.jena.atlas.lib.CharSpace charSpace)
StreamRDF that outputs to an Writer with a specific
CharSpace (ASCII or UTF-8) writing out-of-range codepoints (if ASCII)
as "\ uXXXX".
It is important to call StreamRDF.start()
and StreamRDF.finish() because the output is buffered.
public static StreamRDF dataset(DatasetGraph dataset)
public static StreamRDF sinkTriples(org.apache.jena.atlas.lib.Sink<Triple> sink)
public static StreamRDF sinkQuads(org.apache.jena.atlas.lib.Sink<Quad> sink)
public static StreamRDF extendTriplesToQuads(StreamRDF base)
Quad.tripleInQuadpublic static StreamRDF extendTriplesToQuads(Node graphNode, StreamRDF base)
public static StreamRDFCounting count()
public static StreamRDFCounting count(StreamRDF other)
Licenced under the Apache License, Version 2.0