public class DownloadImpl extends AbstractTransfer implements Download
Transfer.TransferStatemonitor, progressListenerChain, stateChangeListeners| コンストラクタと説明 |
|---|
DownloadImpl(java.lang.String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
S3Object s3Object,
TransferStateChangeListener listener) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
abort()
Cancels this download.
|
java.lang.String |
getBucketName()
The name of the bucket where the object is being downloaded from.
|
java.lang.String |
getKey()
The key under which this object was stored in Amazon S3.
|
ObjectMetadata |
getObjectMetadata()
Returns the ObjectMetadata for the object being downloaded.
|
void |
setS3Object(S3Object s3Object)
Set the S3 object to download.
|
addProgressListener, addStateChangeListener, getDescription, getMonitor, getProgress, getState, isDone, removeProgressListener, removeStateChangeListener, rethrowExecutionException, setMonitor, setState, unwrapExecutionException, waitForCompletion, waitForExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, waitForCompletion, waitForExceptionpublic DownloadImpl(java.lang.String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
S3Object s3Object,
TransferStateChangeListener listener)
public ObjectMetadata getObjectMetadata()
getObjectMetadata インタフェース内 Downloadpublic java.lang.String getBucketName()
getBucketName インタフェース内 Downloadpublic java.lang.String getKey()
public void abort()
throws java.io.IOException
public void setS3Object(S3Object s3Object)