public class OJSONReader extends Object
Modifier and Type | Field and Description |
---|---|
static char[] |
ANY_NUMBER |
static char[] |
BEGIN_COLLECTION |
static char[] |
BEGIN_OBJECT |
static char[] |
BEGIN_STRING |
static char[] |
COMMA_SEPARATOR |
static char[] |
DEFAULT_JUMP |
static char[] |
DEFAULT_SKIP |
static char[] |
END_COLLECTION |
static char[] |
END_OBJECT |
static char[] |
FIELD_ASSIGNMENT |
static char |
NEW_LINE |
static char[] |
NEXT_IN_ARRAY |
static char[] |
NEXT_IN_OBJECT |
static char[] |
NEXT_OBJ_IN_ARRAY |
Constructor and Description |
---|
OJSONReader(Reader iIn) |
Modifier and Type | Method and Description |
---|---|
OJSONReader |
checkContent(String iExpected) |
int |
getColumnNumber() |
int |
getCursor() |
int |
getLineNumber() |
String |
getValue() |
boolean |
hasNext() |
boolean |
isContent(String iExpected) |
int |
jump(char[] iJumpChars) |
char |
lastChar() |
int |
nextChar()
Returns the next character from the input stream.
|
boolean |
readBoolean(char[] nextInObject) |
int |
readInteger(char[] iUntil) |
OJSONReader |
readNext(char[] iUntil) |
OJSONReader |
readNext(char[] iUntil,
boolean iInclude) |
OJSONReader |
readNext(char[] iUntil,
boolean iInclude,
char[] iJumpChars,
char[] iSkipChars) |
OJSONReader |
readNext(char[] iUntil,
boolean iInclude,
char[] iJumpChars,
char[] iSkipChars,
boolean preserveQuotes) |
Map<String,ORidSet> |
readNextRecord(char[] iUntil,
boolean iInclude,
char[] iJumpChars,
char[] iSkipChars,
boolean preserveQuotes,
int maxRidbagSizeLazyImport) |
int |
readNumber(char[] iUntil,
boolean iInclude) |
OPair<String,Map<String,ORidSet>> |
readRecordString(int maxRidbagSizeLazyImport) |
String |
readString(char[] iUntil) |
String |
readString(char[] iUntil,
boolean iInclude) |
String |
readString(char[] iUntil,
boolean iInclude,
char[] iJumpChars,
char[] iSkipChars) |
String |
readString(char[] iUntil,
boolean iInclude,
char[] iJumpChars,
char[] iSkipChars,
boolean preserveQuotes) |
public static final char NEW_LINE
public static final char[] DEFAULT_JUMP
public static final char[] DEFAULT_SKIP
public static final char[] BEGIN_OBJECT
public static final char[] END_OBJECT
public static final char[] FIELD_ASSIGNMENT
public static final char[] BEGIN_STRING
public static final char[] COMMA_SEPARATOR
public static final char[] NEXT_IN_OBJECT
public static final char[] NEXT_IN_ARRAY
public static final char[] NEXT_OBJ_IN_ARRAY
public static final char[] ANY_NUMBER
public static final char[] BEGIN_COLLECTION
public static final char[] END_COLLECTION
public OJSONReader(Reader iIn)
public int getCursor()
public OJSONReader checkContent(String iExpected) throws ParseException
ParseException
public boolean isContent(String iExpected)
public int readInteger(char[] iUntil) throws IOException, ParseException
IOException
ParseException
public int readNumber(char[] iUntil, boolean iInclude) throws IOException, ParseException
IOException
ParseException
public String readString(char[] iUntil) throws IOException, ParseException
IOException
ParseException
public String readString(char[] iUntil, boolean iInclude) throws IOException, ParseException
IOException
ParseException
public String readString(char[] iUntil, boolean iInclude, char[] iJumpChars, char[] iSkipChars) throws IOException, ParseException
IOException
ParseException
public String readString(char[] iUntil, boolean iInclude, char[] iJumpChars, char[] iSkipChars, boolean preserveQuotes) throws IOException, ParseException
IOException
ParseException
public OPair<String,Map<String,ORidSet>> readRecordString(int maxRidbagSizeLazyImport) throws IOException, ParseException
maxRidbagSizeLazyImport
- IOException
ParseException
public boolean readBoolean(char[] nextInObject) throws IOException, ParseException
IOException
ParseException
public OJSONReader readNext(char[] iUntil) throws IOException, ParseException
IOException
ParseException
public OJSONReader readNext(char[] iUntil, boolean iInclude) throws IOException, ParseException
IOException
ParseException
public OJSONReader readNext(char[] iUntil, boolean iInclude, char[] iJumpChars, char[] iSkipChars) throws IOException, ParseException
IOException
ParseException
public OJSONReader readNext(char[] iUntil, boolean iInclude, char[] iJumpChars, char[] iSkipChars, boolean preserveQuotes) throws IOException, ParseException
IOException
ParseException
public Map<String,ORidSet> readNextRecord(char[] iUntil, boolean iInclude, char[] iJumpChars, char[] iSkipChars, boolean preserveQuotes, int maxRidbagSizeLazyImport) throws IOException, ParseException
IOException
ParseException
public int jump(char[] iJumpChars) throws IOException, ParseException
IOException
ParseException
public int nextChar() throws IOException
IOException
public char lastChar()
public String getValue()
public int getLineNumber()
public int getColumnNumber()
public boolean hasNext() throws IOException
IOException
Copyright © 2009–2020 OrientDB. All rights reserved.