Class JSONReader
- java.lang.Object
-
- java.io.Reader
-
- org.apache.manifoldcf.connectorcommon.jsongen.JSONReader
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.lang.Readable
- Direct Known Subclasses:
JSONArrayReader
,JSONNameValueReader
,JSONObjectReader
,JSONStringReader
,JSONValueReader
public abstract class JSONReader extends java.io.Reader
This base class describes a JSON reader.
-
-
Constructor Summary
Constructors Constructor Description JSONReader()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
close()
abstract int
read()
int
read(char[] cbuf, int off, int len)
-
-
-
Method Detail
-
read
public int read(char[] cbuf, int off, int len) throws java.io.IOException
- Specified by:
read
in classjava.io.Reader
- Throws:
java.io.IOException
-
read
public abstract int read() throws java.io.IOException
- Overrides:
read
in classjava.io.Reader
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in classjava.io.Reader
- Throws:
java.io.IOException
-
-