public class ReaderSource extends Object implements JsonSource
| Constructor and Description |
|---|
ReaderSource(Reader reader) |
| Modifier and Type | Method and Description |
|---|---|
int |
current()
current char
|
static ReaderSource |
instance(Reader reader) |
void |
move()
move to next char
|
int |
next()
next char
|
String |
recordedContent()
last recorded content
|
int |
startRecording()
starts recording of characters
|
int |
stopRecording()
stops recording of characters
|
public ReaderSource(Reader reader)
public static ReaderSource instance(Reader reader)
public int current()
JsonSourcecurrent in interface JsonSourcepublic int next()
JsonSourcenext in interface JsonSourcepublic void move()
JsonSourcemove in interface JsonSourcepublic int startRecording()
JsonSourcestartRecording in interface JsonSourcepublic int stopRecording()
JsonSourcestopRecording in interface JsonSourcepublic String recordedContent()
JsonSourcerecordedContent in interface JsonSourceCopyright © 2018. All rights reserved.