org.eclipse.rdf4j.rio.helpers

## Class TurtleParserSettings

- java.lang.Object
- - org.eclipse.rdf4j.rio.helpers.TurtleParserSettings

-     public class TurtleParserSettings
      extends Object

  Parser Settings that are specific to `RDFFormat.TURTLE` parsers.
  Author:
    Peter Ansell

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static RioSetting<Boolean>` | `ACCEPT_TURTLESTAR` Allows the regular Turtle parser to accept data using the non-standard Turtle-star extension.
    `static RioSetting<Boolean>` | `CASE_INSENSITIVE_DIRECTIVES` Allows the Turtle parser to recognize `@BASE` and `@PREFIX` in a similar way to the SPARQL case insensitive directives.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TurtleParserSettings()`

  - ### Method Summary

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

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

- - ### Field Detail

    - #### CASE_INSENSITIVE_DIRECTIVES

          public static final RioSetting<Boolean> CASE_INSENSITIVE_DIRECTIVES

      Allows the Turtle parser to recognize `@BASE` and `@PREFIX` in a similar way to the SPARQL case insensitive directives.

      Defaults to false.

      Can be overridden by setting system property `org.eclipse.rdf4j.rio.turtle.case_insensitive_directives`.

    - #### ACCEPT_TURTLESTAR

          public static final RioSetting<Boolean> ACCEPT_TURTLESTAR

      Allows the regular Turtle parser to accept data using the non-standard Turtle-star extension.

      Defaults to true.

      This setting has no effect on the behavior of the TurtleStarParser.

      Can be overridden by setting system property `org.eclipse.rdf4j.rio.turtle.accept_turtlestar`.

  - ### Constructor Detail

    - #### TurtleParserSettings

          public TurtleParserSettings()

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