| Modifier and Type | Class and Description |
|---|---|
static class |
JsonStreamSourceImpl.Scanner.Symbol |
| Constructor and Description |
|---|
JsonScanner2(InputStream in)
Creates a new scanner.
|
JsonScanner2(Reader in)
Creates a new scanner
There is also a java.io.InputStream version of this constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getCharOffset() |
int |
getColumnNumber() |
int |
getLineNumber() |
String |
getText() |
JsonStreamSourceImpl.Scanner.Symbol |
nextSymbol() |
public JsonScanner2(Reader in)
in - the java.io.Reader to read input from.public JsonScanner2(InputStream in)
in - the java.io.Inputstream to read input from.public String getText()
public JsonStreamSourceImpl.Scanner.Symbol nextSymbol() throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic int getCharOffset()
public int getLineNumber()
public int getColumnNumber()
Copyright © 2005–2019 Apache Software Foundation. All rights reserved.