Package org.jets3t.service.multithread
Class DownloadPackage
- java.lang.Object
-
- org.jets3t.service.multi.DownloadPackage
-
- org.jets3t.service.multithread.DownloadPackage
-
@Deprecated public class DownloadPackage extends DownloadPackage
Deprecated.0.8.0 useDownloadPackage
instead.A simple container object to associate one of anS3Object
or a signed URL string with an output file or output stream to which the S3 object's data will be written.This class is used by
S3ServiceMulti.downloadObjects(org.jets3t.service.model.S3Bucket, DownloadPackage[])
to download objects.- Author:
- James Murty
-
-
Constructor Summary
Constructors Constructor Description DownloadPackage(String signedUrl, File outputFile, boolean isUnzipping, EncryptionUtil encryptionUtil)
Deprecated.DownloadPackage(String signedUrl, OutputStream outputStream, boolean isUnzipping, EncryptionUtil encryptionUtil)
Deprecated.DownloadPackage(S3Object object, File outputFile)
Deprecated.DownloadPackage(S3Object object, File outputFile, boolean isUnzipping, EncryptionUtil encryptionUtil)
Deprecated.DownloadPackage(S3Object object, OutputStream outputStream)
Deprecated.DownloadPackage(S3Object object, OutputStream outputStream, boolean isUnzipping, EncryptionUtil encryptionUtil)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description S3Object
getObject()
Deprecated.String
getSignedUrl()
Deprecated.boolean
isSignedDownload()
Deprecated.void
setSignedUrl(String url)
Deprecated.-
Methods inherited from class org.jets3t.service.multi.DownloadPackage
getDataFile, getOutputStream, isAppendToFile, setAppendToFile, setObject
-
-
-
-
Constructor Detail
-
DownloadPackage
public DownloadPackage(String signedUrl, File outputFile, boolean isUnzipping, EncryptionUtil encryptionUtil)
Deprecated.
-
DownloadPackage
public DownloadPackage(String signedUrl, OutputStream outputStream, boolean isUnzipping, EncryptionUtil encryptionUtil)
Deprecated.
-
DownloadPackage
public DownloadPackage(S3Object object, File outputFile, boolean isUnzipping, EncryptionUtil encryptionUtil)
Deprecated.
-
DownloadPackage
public DownloadPackage(S3Object object, OutputStream outputStream)
Deprecated.
-
DownloadPackage
public DownloadPackage(S3Object object, OutputStream outputStream, boolean isUnzipping, EncryptionUtil encryptionUtil)
Deprecated.
-
-
Method Detail
-
getSignedUrl
public String getSignedUrl()
Deprecated.
-
setSignedUrl
public void setSignedUrl(String url)
Deprecated.
-
isSignedDownload
public boolean isSignedDownload()
Deprecated.
-
getObject
public S3Object getObject()
Deprecated.- Overrides:
getObject
in classDownloadPackage
-
-