Package org.daypilot.json
Class HTTPTokener
java.lang.Object
org.daypilot.json.JSONTokener
org.daypilot.json.HTTPTokener
The HTTPTokener extends the JSONTokener to provide additional methods
for the parsing of HTTP headers.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.daypilot.json.JSONTokener
back, dehexchar, more, next, next, next, nextClean, nextString, nextTo, nextTo, nextValue, skipTo, syntaxError, toString
-
Constructor Details
-
HTTPTokener
Construct an XMLTokener from a string.- Parameters:
s
- A source string.
-
-
Method Details
-
nextToken
Get the next token or string. This is used in parsing HTTP headers.- Returns:
- A String.
- Throws:
JSONException
-