Class ImageRawStream.ByteArrayStreamFactory

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private byte[] data  
    • Constructor Summary

      Constructors 
      Constructor Description
      ByteArrayStreamFactory​(byte[] data)
      Main constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Closes the factory and releases any resources held open during the lifetime of this object.
      java.io.InputStream createInputStream()
      Creates and returns a new InputStream.
      boolean isUsedOnceOnly()
      Indicates whether this factory is only usable once or many times.
      • Methods inherited from class java.lang.Object

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

      • data

        private byte[] data
    • Constructor Detail

      • ByteArrayStreamFactory

        public ByteArrayStreamFactory​(byte[] data)
        Main constructor.
        Parameters:
        data - the byte array