cc.plural.jsonij
Class ReaderJSONReader.ReaderJSONStringReader
java.lang.Object
cc.plural.jsonij.ReaderJSONReader.ReaderJSONStringReader
- All Implemented Interfaces:
- ReaderParser
- Enclosing class:
- ReaderJSONReader
protected class ReaderJSONReader.ReaderJSONStringReader
- extends Object
- implements ReaderParser
|
Field Summary |
protected boolean |
active
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
active
protected boolean active
ReaderJSONReader.ReaderJSONStringReader
public ReaderJSONReader.ReaderJSONStringReader()
isActive
public boolean isActive()
- Returns:
- the active
setActive
protected void setActive(boolean active)
- Parameters:
active - the active to set
peek
public int peek()
throws IOException
- Specified by:
peek in interface ReaderParser
- Throws:
IOException
read
public int read()
throws IOException
- Specified by:
read in interface ReaderParser
- Throws:
IOException
close
public void close()
- Specified by:
close in interface ReaderParser
readNext
protected int readNext()
throws IOException
- Throws:
IOException
getPosition
public Position getPosition()
- Specified by:
getPosition in interface ReaderParser
- Returns:
- the position
isHasPeeked
public boolean isHasPeeked()
- Description copied from interface:
ReaderParser
- Only here for POJO reasons.
- Specified by:
isHasPeeked in interface ReaderParser
- Returns:
- hasPeeked()
- See Also:
ReaderParser.hasPeeked()
hasPeeked
public boolean hasPeeked()
- Specified by:
hasPeeked in interface ReaderParser
setHasPeeked
public void setHasPeeked(boolean hasPeeked)
- Specified by:
setHasPeeked in interface ReaderParser
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber in interface ReaderParser
getPositionNumber
public int getPositionNumber()
- Specified by:
getPositionNumber in interface ReaderParser
Copyright © 2012. All Rights Reserved.