org.eclipse.rdf4j.rio.turtle

## Class TurtleParserFactory

- java.lang.Object
- - org.eclipse.rdf4j.rio.turtle.TurtleParserFactory

- All Implemented Interfaces:
    RDFParserFactory

      public class TurtleParserFactory
      extends Object
      implements RDFParserFactory

  An `RDFParserFactory` for Turtle parsers.
  Author:
    Arjohn Kampman

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TurtleParserFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `RDFParser` | `getParser()` Returns a new instance of `TurtleParser`.
    `RDFFormat` | `getRDFFormat()` Returns `RDFFormat.TURTLE`.

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

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

- - ### Constructor Detail

    - #### TurtleParserFactory

          public TurtleParserFactory()

  - ### Method Detail

    - #### getRDFFormat

          public RDFFormat getRDFFormat()

      Returns `RDFFormat.TURTLE`.
      Specified by:
        `getRDFFormat` in interface `RDFParserFactory`

    - #### getParser

          public RDFParser getParser()

      Returns a new instance of `TurtleParser`.
      Specified by:
        `getParser` in interface `RDFParserFactory`

Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.