org.eclipse.rdf4j.query.parser.sparql

## Class SPARQLUtil

- java.lang.Object
- - org.eclipse.rdf4j.query.parser.sparql.SPARQLQueries
  - - org.eclipse.rdf4j.query.parser.sparql.SPARQLUtil

- Deprecated.
  since 3.6.0 Use `SPARQLQueries` instead.

      @Deprecated
      public class SPARQLUtil
      extends SPARQLQueries

  SPARQL-related utility methods.
  Author:
    Arjohn Kampman

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SPARQLUtil()` Deprecated.

  - ### Method Summary

    All Methods Static Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `decodeString(String string)` Deprecated. since 3.6.0. Use `SPARQLQueries.unescape(String)` instead.
    `static String` | `encodeString(String string)` Deprecated. since 3.6.0. Use `SPARQLQueries.escape(String)` instead.

    - ### Methods inherited from class org.eclipse.rdf4j.query.parser.sparql.SPARQLQueries

      `escape, getPrefixClauses, unescape`

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

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

- - ### Constructor Detail

    - #### SPARQLUtil

          public SPARQLUtil()

      Deprecated.

  - ### Method Detail

    - #### encodeString

          @Deprecated
          public static String encodeString(String string)

      Deprecated. since 3.6.0. Use `SPARQLQueries.escape(String)` instead.

    - #### decodeString

          @Deprecated
          public static String decodeString(String string)

      Deprecated. since 3.6.0. Use `SPARQLQueries.unescape(String)` instead.

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