public class FileS3ObjectContent extends Object implements S3ObjectContent
Constructor and Description |
---|
FileS3ObjectContent(File file) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Close consumed inputstream and delete temporary files created
|
com.amazonaws.services.s3.model.PutObjectRequest |
createPutObjectRequest()
Creates a
PutObjectRequest , which grants to have its metadata object and its inputstream (or file), populated. |
protected final File file
public FileS3ObjectContent(File file)
public com.amazonaws.services.s3.model.PutObjectRequest createPutObjectRequest()
S3ObjectContent
PutObjectRequest
, which grants to have its metadata object and its inputstream (or file), populated.createPutObjectRequest
in interface S3ObjectContent
PutObjectRequest
public void clear()
S3ObjectContent
clear
in interface S3ObjectContent
Copyright © 2010–2019. All rights reserved.