Class TrigWriter

    • Constructor Detail

      • TrigWriter

        public TrigWriter​(java.io.OutputStream theWriter,
                          Options theOptions)
    • Method Detail

      • end

        public void end()
        Signals the writing process is completed. The underlying InputStream is *not* closed, but the caller should not call additional methods on this writer as that will normally yield syntax errors in the output.
        Specified by:
        end in interface RDFHandler
        Specified by:
        end in interface RDFWriter
        Overrides:
        end in class TurtleWriter
      • comment

        public void comment​(@Nonnull
                            java.lang.String theComment)
        Write a comment to the output. Writing need not be started at this point; comments can be written prior to any actual serialized RDF
        Specified by:
        comment in interface RDFWriter
        Overrides:
        comment in class TurtleWriter
        Parameters:
        theComment - the comment to write
      • writeNamespace

        protected void writeNamespace​(@Nonnull
                                      java.lang.String thePrefix,
                                      @Nonnull
                                      java.lang.String theName)
        Overrides:
        writeNamespace in class TurtleWriter
      • closeActiveContext

        protected void closeActiveContext()