Class JSONValueReader
- java.lang.Object
-
- java.io.Reader
-
- org.apache.manifoldcf.connectorcommon.jsongen.JSONReader
-
- org.apache.manifoldcf.connectorcommon.jsongen.JSONValueReader
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.lang.Readable
- Direct Known Subclasses:
JSONDoubleReader,JSONIntegerReader
public class JSONValueReader extends JSONReader
This class describes a JSON value reader, which can be any terminal value (e.g. string, integer, float).
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.ReadervalueWrapped reader
-
Constructor Summary
Constructors Constructor Description JSONValueReader(java.io.Reader value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intread()-
Methods inherited from class org.apache.manifoldcf.connectorcommon.jsongen.JSONReader
close, read
-
-
-
-
Method Detail
-
read
public int read() throws java.io.IOException- Specified by:
readin classJSONReader- Throws:
java.io.IOException
-
-