org.noggit
Class JSONParserWS

java.lang.Object
  extended by org.noggit.JSONParser
      extended by org.noggit.JSONParserWS

public class JSONParserWS
extends JSONParser


Nested Class Summary
static class JSONParserWS.WhitespaceHandler
           
 
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_SINGLE_QUOTES, ALLOW_UNQUOTED_KEYS, ALLOW_UNQUOTED_STRING_VALUES, ARRAY_END, ARRAY_START, BIGNUMBER, BOOLEAN, EOF, FLAGS_STRICT, LONG, NULL, NUMBER, OBJECT_END, OBJECT_START, STRING
 
Constructor Summary
JSONParserWS(char[] data, int start, int end)
           
JSONParserWS(Reader in)
           
JSONParserWS(Reader in, char[] buffer)
           
JSONParserWS(String data)
           
JSONParserWS(String data, int start, int end)
           
 
Method Summary
protected  int getCharNWS()
           
protected  void getNewlineComment()
           
protected  void getSlashComment()
           
 void setWhitespaceHandler(JSONParserWS.WhitespaceHandler wsHandler)
           
 
Methods inherited from class org.noggit.JSONParser
err, fill, getBoolean, getChar, getCharNWS, getDouble, getEventString, getFlags, getLevel, getLong, getNull, getNumberChars, getNumberChars, getPosition, getString, getString, getStringChars, lastEvent, nextEvent, setFlags, toString, wasKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JSONParserWS

public JSONParserWS(Reader in)

JSONParserWS

public JSONParserWS(Reader in,
                    char[] buffer)

JSONParserWS

public JSONParserWS(char[] data,
                    int start,
                    int end)

JSONParserWS

public JSONParserWS(String data)

JSONParserWS

public JSONParserWS(String data,
                    int start,
                    int end)
Method Detail

setWhitespaceHandler

public void setWhitespaceHandler(JSONParserWS.WhitespaceHandler wsHandler)

getCharNWS

protected int getCharNWS()
                  throws IOException
Overrides:
getCharNWS in class JSONParser
Throws:
IOException

getNewlineComment

protected void getNewlineComment()
                          throws IOException
Overrides:
getNewlineComment in class JSONParser
Throws:
IOException

getSlashComment

protected void getSlashComment()
                        throws IOException
Overrides:
getSlashComment in class JSONParser
Throws:
IOException


Copyright © 2014. All Rights Reserved.