com.caucho.quercus.lib.string
Class StringUtility

java.lang.Object
  extended by com.caucho.quercus.lib.string.StringUtility

public class StringUtility
extends java.lang.Object


Constructor Summary
StringUtility()
           
 
Method Summary
protected static int addQueryChar(ByteToChar byteToChar, java.lang.CharSequence str, int len, int i, int ch)
           
static void addQueryValue(Env env, ArrayValue array, java.lang.String key, java.lang.String valueStr)
           
static Value parseStr(Env env, java.lang.CharSequence str, ArrayValue result, boolean isRef, java.lang.String encoding)
           
static Value parseStr(Env env, java.lang.CharSequence str, ArrayValue result, boolean isRef, java.lang.String encoding, boolean isMagicQuotes, int[] querySeparatorMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtility

public StringUtility()
Method Detail

parseStr

public static Value parseStr(Env env,
                             java.lang.CharSequence str,
                             ArrayValue result,
                             boolean isRef,
                             java.lang.String encoding)

parseStr

public static Value parseStr(Env env,
                             java.lang.CharSequence str,
                             ArrayValue result,
                             boolean isRef,
                             java.lang.String encoding,
                             boolean isMagicQuotes,
                             int[] querySeparatorMap)

addQueryChar

protected static int addQueryChar(ByteToChar byteToChar,
                                  java.lang.CharSequence str,
                                  int len,
                                  int i,
                                  int ch)
                           throws java.io.IOException
Throws:
java.io.IOException

addQueryValue

public static void addQueryValue(Env env,
                                 ArrayValue array,
                                 java.lang.String key,
                                 java.lang.String valueStr)