Package org.eclipse.jetty.util.ajax
Class JSON.ReaderSource
java.lang.Object
org.eclipse.jetty.util.ajax.JSON.ReaderSource
- All Implemented Interfaces:
JSON.Source
- Enclosing class:
JSON
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
_reader
-
_next
private int _next -
scratch
private char[] scratch
-
-
Constructor Details
-
ReaderSource
-
-
Method Details
-
setReader
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceJSON.Source
-
next
public char next()- Specified by:
next
in interfaceJSON.Source
-
peek
public char peek()- Specified by:
peek
in interfaceJSON.Source
-
getNext
private void getNext() -
scratchBuffer
public char[] scratchBuffer()- Specified by:
scratchBuffer
in interfaceJSON.Source
-