Package org.meeuw.json
Class AbstractJsonReader
- java.lang.Object
-
- org.meeuw.json.AbstractJsonReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
Structure
public abstract class AbstractJsonReader extends Object implements Closeable
-
-
Constructor Summary
Constructors Constructor Description AbstractJsonReader()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidclose()protected abstract voidhandleToken(ParseEvent event)voidread(com.fasterxml.jackson.core.JsonParser jp)voidread(Reader reader)protected voidready()
-
-
-
Method Detail
-
read
public void read(com.fasterxml.jackson.core.JsonParser jp) throws IOException- Throws:
IOException
-
read
public void read(Reader reader) throws IOException
- Throws:
IOException
-
handleToken
protected abstract void handleToken(ParseEvent event) throws IOException
- Throws:
IOException
-
ready
protected void ready() throws IOException- Throws:
IOException
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-