/** * Upload an individual part that will comprise a piece of a multipart upload object. * * @param upload * the multipart upload to which this part will be added. * @param partNumber * the part's number; must be between 1 and 10,000 and must uniquely identify a given * part and represent its order compared to all other parts. Part numbers need not * be sequential. * @param object * an object containing a input stream with data that will be sent to the storage service. * @return * information about the uploaded part, retain this information to eventually complete * the object with {@link #multipartCompleteUpload(MultipartUpload, List)}. * @throws S3ServiceException */ public MultipartPart multipartUploadPart(MultipartUpload upload, Integer partNumber, S3Object object) throws S3ServiceException { MultipartPart part = multipartUploadPartImpl(upload.getUploadId(), upload.getBucketName(), partNumber, object); upload.addMultipartPartToUploadedList(part); return part; }
/** * Upload an individual part that will comprise a piece of a multipart upload object. * * @param upload * the multipart upload to which this part will be added. * @param partNumber * the part's number; must be between 1 and 10,000 and must uniquely identify a given * part and represent its order compared to all other parts. Part numbers need not * be sequential. * @param object * an object containing a input stream with data that will be sent to the storage service. * @return * information about the uploaded part, retain this information to eventually complete * the object with {@link #multipartCompleteUpload(MultipartUpload, List)}. * @throws S3ServiceException */ public MultipartPart multipartUploadPart(MultipartUpload upload, Integer partNumber, S3Object object) throws S3ServiceException { MultipartPart part = multipartUploadPartImpl(upload.getUploadId(), upload.getBucketName(), partNumber, object); upload.addMultipartPartToUploadedList(part); return part; }
partNumber, sourceBucketName, sourceObjectKey, null, null, null, null, null, null, versionId); upload.addMultipartPartToUploadedList(part); return part;
/** * From an existing object, copy an individual part that will comprise a piece of a * multipart upload object. * * @param upload * the multipart upload to which this part will be added. * @param partNumber * the part's number; must be between 1 and 10,000 and must uniquely identify a given * part and represent its order compared to all other parts. Part numbers need not * be sequential. * @param sourceBucketName * the name of the bucket that contains the original object. * @param sourceObjectKey * the key name of the original object. * * @return * information about the uploaded copy part, retain this information to eventually complete * the object with {@link #multipartCompleteUpload(MultipartUpload, List)}. * @throws S3ServiceException */ public MultipartPart multipartUploadPartCopy(MultipartUpload upload, Integer partNumber, String sourceBucketName, String sourceObjectKey) throws S3ServiceException { MultipartPart part = multipartUploadPartCopyImpl(upload.getUploadId(), upload.getBucketName(), upload.getObjectKey(), partNumber, sourceBucketName, sourceObjectKey, null, null, null, null, null, null, null); upload.addMultipartPartToUploadedList(part); return part; }
/** * From an existing object, copy an individual part that will comprise a piece of a * multipart upload object. * * @param upload * the multipart upload to which this part will be added. * @param partNumber * the part's number; must be between 1 and 10,000 and must uniquely identify a given * part and represent its order compared to all other parts. Part numbers need not * be sequential. * @param sourceBucketName * the name of the bucket that contains the original object. * @param sourceObjectKey * the key name of the original object. * * @return * information about the uploaded copy part, retain this information to eventually complete * the object with {@link #multipartCompleteUpload(MultipartUpload, List)}. * @throws S3ServiceException */ public MultipartPart multipartUploadPartCopy(MultipartUpload upload, Integer partNumber, String sourceBucketName, String sourceObjectKey) throws S3ServiceException { MultipartPart part = multipartUploadPartCopyImpl(upload.getUploadId(), upload.getBucketName(), upload.getObjectKey(), partNumber, sourceBucketName, sourceObjectKey, null, null, null, null, null, null, null); upload.addMultipartPartToUploadedList(part); return part; }
partNumber, sourceBucketName, sourceObjectKey, null, null, null, null, null, null, versionId); upload.addMultipartPartToUploadedList(part); return part;
ifMatchTags, ifNoneMatchTags, byteRangeStart, byteRangeEnd, versionId); upload.addMultipartPartToUploadedList(part); return part;
ifMatchTags, ifNoneMatchTags, byteRangeStart, byteRangeEnd, versionId); upload.addMultipartPartToUploadedList(part); return part;