Class StreamAndInfo

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class StreamAndInfo
    extends java.lang.Object
    implements java.lang.AutoCloseable
    StreamAndInfo class
    • Constructor Summary

      Constructors 
      Constructor Description
      StreamAndInfo​(java.io.InputStream stream, java.lang.Long size)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.lang.Long getSize()
      getter for size
      java.io.InputStream getStream()
      getter for stream
      • Methods inherited from class java.lang.Object

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

      • StreamAndInfo

        public StreamAndInfo​(java.io.InputStream stream,
                             java.lang.Long size)
    • Method Detail

      • getStream

        public java.io.InputStream getStream()
        getter for stream
      • getSize

        public java.lang.Long getSize()
        getter for size
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable