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
public static class JSON.ReaderSource extends java.lang.Object implements JSON.Source
-
-
Constructor Summary
Constructors Constructor Description ReaderSource(java.io.Reader r)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
char
next()
char
peek()
char[]
scratchBuffer()
void
setReader(java.io.Reader reader)
-
-
-
Method Detail
-
setReader
public void setReader(java.io.Reader reader)
-
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
-
scratchBuffer
public char[] scratchBuffer()
- Specified by:
scratchBuffer
in interfaceJSON.Source
-
-