public class HTTPTokener extends JSONTokener
Constructor and Description |
---|
HTTPTokener(String string)
Construct an HTTPTokener from a string.
|
Modifier and Type | Method and Description |
---|---|
String |
nextToken()
Get the next token or string.
|
back, dehexchar, end, more, next, next, next, nextClean, nextString, nextTo, nextTo, nextValue, skipTo, syntaxError, syntaxError, toString
public HTTPTokener(String string)
string
- A source string.public String nextToken() throws JSONException
JSONException
- if a syntax error occurs