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