Open SiteSearch 4.1.1
Final

ORG.oclc.qparse
Class Util

java.lang.Object
  |
  +--ORG.oclc.qparse.Util

public class Util
extends Object

The Util class is a collection of utility methods used to locate and manipulate escaped characters ('\') with query terms.

See Also:
ASTTerm, Z3958Parser

Constructor Summary
Util()
           
 
Method Summary
static int indexOfUnescaped(String s, String c)
           
static int indexOfUnescaped(String s, String c, int start)
           
static int lastIndexOfUnescaped(String s, String c)
           
static int lastIndexOfUnescaped(String s, String c, int start)
           
static String replaceUnescaped(String s, char oc, char nc)
           
static String unescape(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

unescape

public static String unescape(String value)

lastIndexOfUnescaped

public static int lastIndexOfUnescaped(String s,
                                       String c)

lastIndexOfUnescaped

public static int lastIndexOfUnescaped(String s,
                                       String c,
                                       int start)

indexOfUnescaped

public static int indexOfUnescaped(String s,
                                   String c)

indexOfUnescaped

public static int indexOfUnescaped(String s,
                                   String c,
                                   int start)

replaceUnescaped

public static String replaceUnescaped(String s,
                                      char oc,
                                      char nc)

Open SiteSearch 4.1.1
Final