com.qq.connect.utils.json
类 HTTPTokener

java.lang.Object
  继承者 com.qq.connect.utils.json.JSONTokener
      继承者 com.qq.connect.utils.json.HTTPTokener

public class HTTPTokener
extends JSONTokener

The HTTPTokener extends the JSONTokener to provide additional methods for the parsing of HTTP headers.


构造方法摘要
HTTPTokener(java.lang.String s)
          Construct an XMLTokener from a string.
 
方法摘要
 java.lang.String nextToken()
          Get the next token or string.
 
从类 com.qq.connect.utils.json.JSONTokener 继承的方法
back, dehexchar, more, next, next, next, nextClean, nextString, nextTo, nextTo, nextValue, skipTo, syntaxError, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

HTTPTokener

public HTTPTokener(java.lang.String s)
Construct an XMLTokener from a string.

参数:
s - A source string.
方法详细信息

nextToken

public java.lang.String nextToken()
                           throws JSONException
Get the next token or string. This is used in parsing HTTP headers.

返回:
A String.
抛出:
JSONException