org.apache.tapestry.json
Class HTTPTokener
java.lang.Object
org.apache.tapestry.json.JSONTokener
org.apache.tapestry.json.HTTPTokener
public class HTTPTokener
- extends JSONTokener
The HTTPTokener extends the JSONTokener to provide additional methods
for the parsing of HTTP headers.
- Version:
- 0.1
- Author:
- JSON.org
Methods inherited from class org.apache.tapestry.json.JSONTokener |
back, dehexchar, more, next, next, next, nextClean, nextString, nextTo, nextTo, nextValue, skipPast, skipTo, syntaxError, toString, unescape |
HTTPTokener
public HTTPTokener(String s)
- Construct an XMLTokener from a string.
- Parameters:
s
- A source string.
nextToken
public String nextToken()
throws ParseException
- Get the next token or string. This is used in parsing HTTP headers.
- Returns:
- A String.
- Throws:
ParseException
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.