-
- 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.
-
-
Method Summary
Modifier and Type Method Description abstract InputStreamgetStream()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
-
-
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.
-
-
-
-