Package 

Interface StreamObject

  • All Implemented Interfaces:
    java.lang.AutoCloseable , org.veupathdb.lib.s3.s34k.S3Response , org.veupathdb.lib.s3.s34k.objects.ObjectResponse , org.veupathdb.lib.s3.s34k.objects.S3Object

    
    public interface StreamObject
     implements S3Object, AutoCloseable
                        

    Handle on an S3 object containing an InputStream over the contents of the remote object.

    The wrapped InputStream must be closed when the caller is done with it.

    The stream wrapped by this object may be closed by using this type's close method.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract InputStream getStream() Input stream over the contents of the remote object.
      • Methods inherited from class org.veupathdb.lib.s3.s34k.objects.S3Object

        delete, delete, delete, exists, exists, exists, getBaseName, getDirName, getETag, getLastModified, getTags, stat, stat, stat
      • Methods inherited from class java.lang.AutoCloseable

        close
      • Methods inherited from class org.veupathdb.lib.s3.s34k.objects.ObjectResponse

        getPath
      • Methods inherited from class org.veupathdb.lib.s3.s34k.S3Response

        getBucket, getHeaders, getRegion
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getStream

         abstract InputStream getStream()

        Input stream over the contents of the remote object.

        This stream must be closed when the caller is done with it.