| 
 | ref_send API 2.17 defensive programming in Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.waterken.syntax.json.JSONLexer
public final class JSONLexer
A JSON token reader.
| Constructor Summary | |
|---|---|
| JSONLexer(java.io.Reader in)Constructs an instance. | |
| Method Summary | |
|---|---|
|  void | close() | 
|  int | getColumn()Gets the column number of the head token. | 
|  java.lang.String | getHead()Gets the most recently read token. | 
|  int | getLine()Gets the line number of the head token. | 
|  java.lang.String | next()Move to the next token in the input stream. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public JSONLexer(java.io.Reader in)
in - UTF-8 input stream| Method Detail | 
|---|
public int getLine()
public int getColumn()
public java.lang.String getHead()
null if EOF
public java.lang.String next()
                      throws java.io.EOFException,
                             java.io.IOException,
                             java.lang.Exception
java.io.EOFException - EOF
java.io.IOException - any I/O error
java.lang.Exception - invalid character escape
public void close()
           throws java.io.IOException
java.io.IOException| 
 | ref_send API 2.17 defensive programming in Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.