Class 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.Reader value
      Wrapped reader
      • Fields inherited from class java.io.Reader

        lock
    • Constructor Summary

      Constructors 
      Constructor Description
      JSONValueReader​(java.io.Reader value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int read()  
      • Methods inherited from class org.apache.manifoldcf.connectorcommon.jsongen.JSONReader

        close, read
      • Methods inherited from class java.io.Reader

        mark, markSupported, nullReader, read, read, ready, reset, skip, transferTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • value

        protected final java.io.Reader value
        Wrapped reader
    • Constructor Detail

      • JSONValueReader

        public JSONValueReader​(java.io.Reader value)
    • Method Detail

      • read

        public int read()
                 throws java.io.IOException
        Specified by:
        read in class JSONReader
        Throws:
        java.io.IOException