Oracle Ultra Search APIs
9.2

oracle.ultrasearch.query
Class Util

java.lang.Object
  |
  +--oracle.ultrasearch.query.Util

public class Util
extends java.lang.Object

Utility class for some useful methods.

Since:
9.0.2

Constructor Summary
Util()
           

 

Method Summary
static java.lang.String getVersion()
          Get the version of the Java Query API.
static java.lang.String htmlEncode(java.lang.String input)
          Utility method to apply HTML encoding to a specified string.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Util

public Util()
Method Detail

getVersion

public static java.lang.String getVersion()
Get the version of the Java Query API.
Returns:
a version string in the format of '#.#.#'

htmlEncode

public static java.lang.String htmlEncode(java.lang.String input)
Utility method to apply HTML encoding to a specified string.

This method encodes the input string by performing the following substitutions:

Parameters:
input - The input string to convert.
Returns:
the HTML encoded version of the input string.

Oracle Ultra Search APIs
9.2