Package org.apache.any23.writer

## Class TurtleWriter

- java.lang.Object
- - org.apache.any23.writer.TripleWriterHandler
  - - org.apache.any23.writer.RDFWriterTripleHandler
    - - org.apache.any23.writer.TurtleWriter

- All Implemented Interfaces:
    `AutoCloseable`, `org.apache.any23.writer.FormatWriter`, `org.apache.any23.writer.TripleHandler`, `org.apache.any23.writer.TripleWriter`

      public class TurtleWriter
      extends RDFWriterTripleHandler

  N3 notation `TripleWriter` implementation.
  Author:
    Hans Brende (hansbrende@apache.org)

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `TurtleWriter​(OutputStream out)` | Constructor.
    `TurtleWriter​(OutputStream os, org.apache.any23.configuration.Settings settings)` |

  - ### Method Summary

    - ### Methods inherited from class org.apache.any23.writer.RDFWriterTripleHandler

      `close, closeContext, endDocument, isAnnotated, openContext, setAnnotated, startDocument, writeNamespace, writeTriple`

    - ### Methods inherited from class org.apache.any23.writer.TripleWriterHandler

      `receiveNamespace, receiveTriple, setContentLength`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.any23.writer.TripleHandler

      `receiveNamespace, receiveTriple, setContentLength`

- - ### Constructor Detail

    - #### TurtleWriter

          public TurtleWriter​(OutputStream out)

      Constructor.
      Parameters:
        `out` - stream to write on.

    - #### TurtleWriter

          public TurtleWriter​(OutputStream os,
                              org.apache.any23.configuration.Settings settings)