@Deprecated public class DownloadPackage extends DownloadPackage
DownloadPackage
instead.S3Object
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.
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.
|
Modifier and Type | Method | Description |
---|---|---|
S3Object |
getObject() |
Deprecated.
|
String |
getSignedUrl() |
Deprecated.
|
boolean |
isSignedDownload() |
Deprecated.
|
void |
setSignedUrl(String url) |
Deprecated.
|
getDataFile, getOutputStream, isAppendToFile, setAppendToFile, setObject
public DownloadPackage(String signedUrl, File outputFile, boolean isUnzipping, EncryptionUtil encryptionUtil)
public DownloadPackage(String signedUrl, OutputStream outputStream, boolean isUnzipping, EncryptionUtil encryptionUtil)
public DownloadPackage(S3Object object, File outputFile, boolean isUnzipping, EncryptionUtil encryptionUtil)
public DownloadPackage(S3Object object, OutputStream outputStream)
public DownloadPackage(S3Object object, OutputStream outputStream, boolean isUnzipping, EncryptionUtil encryptionUtil)
public String getSignedUrl()
public void setSignedUrl(String url)
public boolean isSignedDownload()
public S3Object getObject()
getObject
in class DownloadPackage