Package org.apache.solr.util
Class RecordingJSONParser
- java.lang.Object
-
- org.noggit.JSONParser
-
- org.apache.solr.util.RecordingJSONParser
-
public class RecordingJSONParser extends JSONParser
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.noggit.JSONParser
JSONParser.ParseException
-
-
Field Summary
-
Fields inherited from class org.noggit.JSONParser
ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER, ALLOW_COMMENTS, ALLOW_EXTRA_COMMAS, ALLOW_MISSING_COLON_COMMA_BEFORE_OBJECT, ALLOW_SINGLE_QUOTES, ALLOW_UNQUOTED_KEYS, ALLOW_UNQUOTED_STRING_VALUES, ARRAY_END, ARRAY_START, BIGNUMBER, BOOLEAN, end, eof, EOF, event, flags, FLAGS_DEFAULT, FLAGS_STRICT, gpos, in, LONG, missingOpeningBrace, NULL, NUMBER, OBJECT_END, OBJECT_START, OPTIONAL_OUTER_BRACES, start, STRING, stringTerm
-
-
Constructor Summary
Constructors Constructor Description RecordingJSONParser(Reader in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JSONParser.ParseException
error(String msg)
protected void
fill()
String
getBuf()
int
nextEvent()
void
resetBuf()
-
Methods inherited from class org.noggit.JSONParser
err, getBoolean, getChar, getCharExpected, getCharNWS, getCharNWS, getDouble, getEventString, getFlags, getLevel, getLong, getNewlineComment, getNull, getNumberChars, getNumberChars, getPosition, getSlashComment, getString, getString, getStringChars, handleNonDoubleQuoteString, isWhitespace, lastEvent, matchBareWord, setFlags, toString, wasKey
-
-
-
-
Constructor Detail
-
RecordingJSONParser
public RecordingJSONParser(Reader in)
-
-
Method Detail
-
resetBuf
public void resetBuf()
-
nextEvent
public int nextEvent() throws IOException
- Overrides:
nextEvent
in classJSONParser
- Throws:
IOException
-
fill
protected void fill() throws IOException
- Overrides:
fill
in classJSONParser
- Throws:
IOException
-
getBuf
public String getBuf()
-
error
public JSONParser.ParseException error(String msg)
-
-