atg.taglib.json.util
Class HTTPTokener

java.lang.Object
  extended by atg.taglib.json.util.JSONTokener
      extended by atg.taglib.json.util.HTTPTokener

public class HTTPTokener
extends JSONTokener

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

Version:
2
Author:
JSON.org

Constructor Summary
HTTPTokener(java.lang.String s)
          Construct an XMLTokener from a string.
 
Method Summary
 java.lang.String nextToken()
          Get the next token or string.
 
Methods inherited from class atg.taglib.json.util.JSONTokener
back, dehexchar, more, next, next, next, nextClean, nextString, nextTo, nextTo, nextValue, skipPast, skipTo, syntaxError, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTTPTokener

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

Parameters:
s - A source string.
Method Detail

nextToken

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

Returns:
A String.
Throws:
JSONException


Copyright © 2008 Art Technology Group, Inc. (ATG). All Rights Reserved.