Package 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
      public class SPARQLUtil
      extends SPARQLQueries

  Deprecated.
  since 3.6.0 Use `SPARQLQueries` instead.
  SPARQL-related utility methods.
  Author:
    Arjohn Kampman

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SPARQLUtil()` | Deprecated.

  - ### Method Summary

    All Methods Static Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static String` | `decodeString​(String string)` | Deprecated. since 3.6.0.
    `static String` | `encodeString​(String string)` | Deprecated. since 3.6.0.

    - ### 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.