cc.plural.jsonij.parser
Interface ReaderParser

All Known Implementing Classes:
BaseReaderParser, JPathParser.JPathReader, JSONReader, ReaderJSONReader, ReaderJSONReader.ReaderJSONStringReader, StringJSONReader, StringJSONReader.StringJSONStringReader

public interface ReaderParser

Author:
openecho

Method Summary
 void close()
           
 int getLineNumber()
           
 Position getPosition()
           
 int getPositionNumber()
           
 boolean hasPeeked()
           
 boolean isHasPeeked()
          Only here for POJO reasons.
 int peek()
           
 int read()
           
 void setHasPeeked(boolean hasPeeked)
           
 

Method Detail

getPosition

Position getPosition()
Returns:
the position

isHasPeeked

boolean isHasPeeked()
Only here for POJO reasons.

Returns:
hasPeeked()
See Also:
hasPeeked()

hasPeeked

boolean hasPeeked()

setHasPeeked

void setHasPeeked(boolean hasPeeked)

getLineNumber

int getLineNumber()

getPositionNumber

int getPositionNumber()

peek

int peek()
         throws IOException,
                ParserException
Throws:
IOException
ParserException

read

int read()
         throws IOException,
                ParserException
Throws:
IOException
ParserException

close

void close()


Copyright © 2012. All Rights Reserved.