cc.plural.jsonij.jpath
Class JPathParser.JPathReader

java.lang.Object
  extended by cc.plural.jsonij.parser.BaseReaderParser
      extended by cc.plural.jsonij.jpath.JPathParser.JPathReader
All Implemented Interfaces:
ReaderParser
Enclosing class:
JPathParser

public static class JPathParser.JPathReader
extends BaseReaderParser
implements ReaderParser


Field Summary
 
Fields inherited from class cc.plural.jsonij.parser.BaseReaderParser
hasPeeked, peekValue, position
 
Constructor Summary
JPathParser.JPathReader(String jpathString)
           
 
Method Summary
 String getJPath()
           
 int readNext()
          Reads from the reader.
 void skipWhitepace()
           
 void skipWhitepace(StringBuilder appender)
           
 
Methods inherited from class cc.plural.jsonij.parser.BaseReaderParser
close, getLineNumber, getPosition, getPositionNumber, handleNewLine, hasPeeked, isHasPeeked, peek, read, setHasPeeked, setPosition, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface cc.plural.jsonij.parser.ReaderParser
close, getLineNumber, getPosition, getPositionNumber, hasPeeked, isHasPeeked, peek, read, setHasPeeked
 

Constructor Detail

JPathParser.JPathReader

public JPathParser.JPathReader(String jpathString)
Method Detail

getJPath

public String getJPath()

readNext

public int readNext()
             throws IOException,
                    ParserException
Description copied from class: BaseReaderParser
Reads from the reader.

Specified by:
readNext in class BaseReaderParser
Returns:
The read byte if found otherwise -1 if the end of the stream is reached.
Throws:
IOException - Java IO Exception.
ParserException

skipWhitepace

public void skipWhitepace()
                   throws IOException,
                          ParserException
Throws:
IOException
ParserException

skipWhitepace

public void skipWhitepace(StringBuilder appender)
                   throws IOException,
                          ParserException
Throws:
IOException
ParserException


Copyright © 2012. All Rights Reserved.