Class BindingOutputStream

  • All Implemented Interfaces:
    org.apache.jena.atlas.lib.Closeable, org.apache.jena.atlas.lib.Sink<Binding>

    public class BindingOutputStream
    extends java.lang.Object
    implements org.apache.jena.atlas.lib.Sink<Binding>
    Writer for the RDF Tuples language
    • Constructor Detail

      • BindingOutputStream

        public BindingOutputStream​(java.io.OutputStream out)
      • BindingOutputStream

        public BindingOutputStream​(java.io.OutputStream out,
                                   PrefixMap prefixMapping)
      • BindingOutputStream

        public BindingOutputStream​(java.io.OutputStream out,
                                   java.util.List<Var> vars)
      • BindingOutputStream

        public BindingOutputStream​(java.io.OutputStream out,
                                   java.util.List<Var> vars,
                                   PrefixMap prefixMapping)
    • Method Detail

      • write

        public final void write​(Binding binding)
      • send

        public void send​(Binding binding)
        Specified by:
        send in interface org.apache.jena.atlas.lib.Sink<Binding>
      • flush

        public void flush()
        Specified by:
        flush in interface org.apache.jena.atlas.lib.Sink<Binding>
      • close

        public void close()
        Specified by:
        close in interface org.apache.jena.atlas.lib.Closeable
      • getVars

        public java.util.List<Var> getVars()
      • setVars

        public void setVars​(java.util.List<Var> vars)
      • getPrefixMap

        public PrefixMap getPrefixMap()
      • setPrefixMap

        public void setPrefixMap​(PrefixMap pmap)