Class LargeFileMultipartFileSource

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.InputStream getCompleteDataStream()
      Returns a stream that will provide all the object's data
      java.io.InputStream getPartDataStream​(long offset, long length)
      Returns an _independent_ stream that provides only the specified range within the object data.
      long getTotalSize()
      Returns the total size of the object data
      • Methods inherited from class java.lang.Object

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

      • LargeFileMultipartFileSource

        public LargeFileMultipartFileSource​(java.io.File file)
    • Method Detail

      • getPartDataStream

        public java.io.InputStream getPartDataStream​(long offset,
                                                     long length)
                                              throws java.io.IOException
        Description copied from interface: LargeFileMultipartSource
        Returns an _independent_ stream that provides only the specified range within the object data. Note: this stream must be readable in parallel with streams of other parts/ranges.
        Specified by:
        getPartDataStream in interface LargeFileMultipartSource
        Throws:
        java.io.IOException