Class ConsoleStreamRDF

  • All Implemented Interfaces:

    public class ConsoleStreamRDF
    extends java.lang.Object
    implements StreamRDF
    Outputs Stream RDF as N3 to a PrintStream with a PrefixMapping
    Maxime Lefrançois
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void base​(java.lang.String string)  
      void finish()  
      void prefix​(java.lang.String prefix, java.lang.String uri)  
      void quad​(Quad quad)  
      void start()  
      void triple​(Triple triple)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConsoleStreamRDF

        public ConsoleStreamRDF​( out,
                                PrefixMapping pm)
    • Method Detail

      • start

        public void start()
        Specified by:
        start in interface StreamRDF
      • base

        public void base​(java.lang.String string)
        Specified by:
        base in interface StreamRDF
      • prefix

        public void prefix​(java.lang.String prefix,
                           java.lang.String uri)
        Specified by:
        prefix in interface StreamRDF
      • finish

        public void finish()
        Specified by:
        finish in interface StreamRDF