congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
MultipartUpload.getBucketName
Code IndexAdd Tabnine to your IDE (free)

How to use
getBucketName
method
in
org.jets3t.service.model.MultipartUpload

Best Java code snippets using org.jets3t.service.model.MultipartUpload.getBucketName (Showing top 19 results out of 315)

origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

/**
 * Abort the given multipart upload process. Also deletes any parts that may
 * have already been uploaded.
 *
 * @param upload
 * the multipart upload to abort.
 * @throws S3ServiceException
 */
public void multipartAbortUpload(MultipartUpload upload) throws S3ServiceException
{
  multipartAbortUploadImpl(upload.getUploadId(), upload.getBucketName(), upload.getObjectKey());
}
origin: net.java.dev.jets3t/jets3t

/**
 * Abort the given multipart upload process. Also deletes any parts that may
 * have already been uploaded.
 *
 * @param upload
 * the multipart upload to abort.
 * @throws S3ServiceException
 */
public void multipartAbortUpload(MultipartUpload upload) throws S3ServiceException
{
  multipartAbortUploadImpl(upload.getUploadId(), upload.getBucketName(), upload.getObjectKey());
}
origin: net.java.dev.jets3t/jets3t

/**
 * List the parts that have been uploaded for a given multipart upload.
 *
 * @param upload
 * the multipart upload whose parts will be listed.
 * @return
 * a list of multipart parts that have been successfully uploaded.
 * @throws S3ServiceException
 */
public List<MultipartPart> multipartListParts(MultipartUpload upload)
  throws S3ServiceException
{
  return multipartListPartsImpl(upload.getUploadId(),
    upload.getBucketName(), upload.getObjectKey());
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

/**
 * List the parts that have been uploaded for a given multipart upload.
 *
 * @param upload
 * the multipart upload whose parts will be listed.
 * @return
 * a list of multipart parts that have been successfully uploaded.
 * @throws S3ServiceException
 */
public List<MultipartPart> multipartListParts(MultipartUpload upload)
  throws S3ServiceException
{
  return multipartListPartsImpl(upload.getUploadId(),
    upload.getBucketName(), upload.getObjectKey());
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

/**
 * Complete a multipart upload by combining all the given parts into
 * the final object.
 *
 * @param upload
 * the multipart upload whose parts will be completed.
 * @param parts
 * the parts comprising the final object.
 * @return
 * information about the completion operation.
 * @throws S3ServiceException
 */
public MultipartCompleted multipartCompleteUpload(MultipartUpload upload,
  List<MultipartPart> parts) throws S3ServiceException
{
  return multipartCompleteUploadImpl(upload.getUploadId(), upload.getBucketName(),
    upload.getObjectKey(), parts);
}
origin: net.java.dev.jets3t/jets3t

/**
 * Complete a multipart upload by combining all the given parts into
 * the final object.
 *
 * @param upload
 * the multipart upload whose parts will be completed.
 * @param parts
 * the parts comprising the final object.
 * @return
 * information about the completion operation.
 * @throws S3ServiceException
 */
public MultipartCompleted multipartCompleteUpload(MultipartUpload upload,
  List<MultipartPart> parts) throws S3ServiceException
{
  return multipartCompleteUploadImpl(upload.getUploadId(), upload.getBucketName(),
    upload.getObjectKey(), parts);
}
origin: iterate-ch/cyberduck

  @Override
  public void delete(final MultipartUpload upload) throws BackgroundException {
    if(log.isInfoEnabled()) {
      log.info(String.format("Delete multipart upload %s", upload.getUploadId()));
    }
    try {
      session.getClient().multipartAbortUpload(upload);
    }
    catch(S3ServiceException e) {
      throw new S3ExceptionMappingService().map("Cannot delete {0}", e,
        new Path(new Path(PathNormalizer.normalize(upload.getBucketName()), EnumSet.of(Path.Type.directory)),
          upload.getObjectKey(), EnumSet.of(Path.Type.file)));
    }
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

@Override
public String toString() {
  return this.getClass().getName() + " ["
    + "uploadId=" + getUploadId()
    + ", bucketName=" + getBucketName()
    + ", objectKey=" + getObjectKey()
    + (metadata != null ? ", metadata=" + getMetadata() : "")
    + (storageClass != null ? ", storageClass=" + getStorageClass() : "")
    + (initiator != null ? ", initiator=" + getInitiator() : "")
    + (owner != null ? ", owner=" + getOwner() : "")
    + (initiatedDate != null ? ", initiatedDate=" + getInitiatedDate() : "")
    + ", multipartsPartsUploaded=" + multipartsPartsUploaded
    + "]";
}
origin: net.java.dev.jets3t/jets3t

@Override
public String toString() {
  return this.getClass().getName() + " ["
    + "uploadId=" + getUploadId()
    + ", bucketName=" + getBucketName()
    + ", objectKey=" + getObjectKey()
    + (metadata != null ? ", metadata=" + getMetadata() : "")
    + (storageClass != null ? ", storageClass=" + getStorageClass() : "")
    + (initiator != null ? ", initiator=" + getInitiator() : "")
    + (owner != null ? ", owner=" + getOwner() : "")
    + (initiatedDate != null ? ", initiatedDate=" + getInitiatedDate() : "")
    + ", multipartsPartsUploaded=" + multipartsPartsUploaded
    + "]";
}
origin: net.java.dev.jets3t/jets3t

/**
 * 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;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

/**
 * 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;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

/**
 * Convenience method to complete a multipart upload by automatically finding
 * its parts. This method does more work than the lower-level
 * {@link #multipartCompleteUpload(MultipartUpload, List)} API operation, but
 * relieves the caller of having to keep track of all the parts uploaded
 * for a multipart upload.
 *
 * @param upload
 * the multipart upload whose parts will be completed.
 * @return
 * information about the completion operation.
 * @throws S3ServiceException
 */
public MultipartCompleted multipartCompleteUpload(MultipartUpload upload) throws S3ServiceException
{
  List<MultipartPart> parts = multipartListParts(upload);
  return multipartCompleteUploadImpl(upload.getUploadId(), upload.getBucketName(),
    upload.getObjectKey(), parts);
}
origin: net.java.dev.jets3t/jets3t

/**
 * Convenience method to complete a multipart upload by automatically finding
 * its parts. This method does more work than the lower-level
 * {@link #multipartCompleteUpload(MultipartUpload, List)} API operation, but
 * relieves the caller of having to keep track of all the parts uploaded
 * for a multipart upload.
 *
 * @param upload
 * the multipart upload whose parts will be completed.
 * @return
 * information about the completion operation.
 * @throws S3ServiceException
 */
public MultipartCompleted multipartCompleteUpload(MultipartUpload upload) throws S3ServiceException
{
  List<MultipartPart> parts = multipartListParts(upload);
  return multipartCompleteUploadImpl(upload.getUploadId(), upload.getBucketName(),
    upload.getObjectKey(), parts);
}
origin: net.java.dev.jets3t/jets3t

/**
 * 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;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

upload.getBucketName(), upload.getObjectKey(),
partNumber, sourceBucketName, sourceObjectKey,
null, null, null, null, null, null, versionId);
origin: net.java.dev.jets3t/jets3t

upload.getBucketName(), upload.getObjectKey(),
partNumber, sourceBucketName, sourceObjectKey,
null, null, null, null, null, null, versionId);
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

/**
 * 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;
}
origin: net.java.dev.jets3t/jets3t

upload.getBucketName(), upload.getObjectKey(), partNumber,
sourceBucketName, sourceObjectKey,
ifModifiedSince, ifUnmodifiedSince,
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

upload.getBucketName(), upload.getObjectKey(), partNumber,
sourceBucketName, sourceObjectKey,
ifModifiedSince, ifUnmodifiedSince,
org.jets3t.service.modelMultipartUploadgetBucketName

Popular methods of MultipartUpload

  • <init>
  • getInitiatedDate
  • getObjectKey
  • getUploadId
  • addMultipartPartToUploadedList
  • getInitiator
  • getMetadata
  • getOwner
  • getStorageClass
  • setBucketName
  • setMetadata
  • setMetadata

Popular in Java

  • Reactive rest calls using spring rest template
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setContentView (Activity)
  • startActivity (Activity)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now