Class StreamImageDCReader

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int BUF_SIZE  
      protected int bufferSize  
      protected java.io.InputStream input  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      Buffer read()  
      void setDataStream​(java.io.InputStream in)  
      • Methods inherited from class java.lang.Object

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

      • bufferSize

        protected int bufferSize
      • input

        protected java.io.InputStream input
    • Constructor Detail

      • StreamImageDCReader

        public StreamImageDCReader()
    • Method Detail

      • read

        public Buffer read()
                    throws java.io.IOException
        Specified by:
        read in interface DataChannelReader
        Returns:
        Buffer of read data or null if end of data
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface DataChannelReader
        Throws:
        java.io.IOException