Package org.nustaq.kson
Class KsonStringCharInput
java.lang.Object
org.nustaq.kson.KsonStringCharInput
- All Implemented Interfaces:
KsonCharInput
implementation of char input on top of a String
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
KsonStringCharInput
-
KsonStringCharInput
-
-
Method Details
-
readChar
public int readChar()- Specified by:
readCharin interfaceKsonCharInput- Returns:
- char or -1 for eof
-
peekChar
public int peekChar()- Specified by:
peekCharin interfaceKsonCharInput
-
position
public int position()- Specified by:
positionin interfaceKsonCharInput
-
back
public int back(int num) - Specified by:
backin interfaceKsonCharInput
-
isEof
public boolean isEof()- Specified by:
isEofin interfaceKsonCharInput
-
getString
- Specified by:
getStringin interfaceKsonCharInput
-