Tabnine Logo
MultipartPart.getLastModified
Code IndexAdd Tabnine to your IDE (free)

How to use
getLastModified
method
in
org.jets3t.service.model.MultipartPart

Best Java code snippets using org.jets3t.service.model.MultipartPart.getLastModified (Showing top 5 results out of 315)

origin: net.java.dev.jets3t/jets3t

@Override
public String toString() {
  return this.getClass().getName() + " ["
    + "partNumber=" + getPartNumber()
    + ", lastModified=" + getLastModified()
    + ", etag=" + getEtag()
    + ", size=" + getSize()
    + "]";
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

@Override
public String toString() {
  return this.getClass().getName() + " ["
    + "partNumber=" + getPartNumber()
    + ", lastModified=" + getLastModified()
    + ", etag=" + getEtag()
    + ", size=" + getSize()
    + "]";
}
origin: net.java.dev.jets3t/jets3t

  return new MultipartPart(partNumber, part.getLastModified(), part.getEtag(), -1l);
} catch (ServiceException se) {
  throw new S3ServiceException(se);
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

  return new MultipartPart(partNumber, part.getLastModified(), part.getEtag(), -1l);
} catch (ServiceException se) {
  throw new S3ServiceException(se);
origin: iterate-ch/cyberduck

  @Override
  public MultipartPart call() throws BackgroundException {
    try {
      final HttpRange range = HttpRange.byLength(offset, length);
      final MultipartPart part = session.getClient().multipartUploadPartCopy(multipart, partNumber,
        containerService.getContainer(source).getName(), containerService.getKey(source),
        null, null, null, null, range.getStart(), range.getEnd(), source.attributes().getVersionId());
      if(log.isInfoEnabled()) {
        log.info(String.format("Received response %s for part number %d", part, partNumber));
      }
      // Populate part with response data that is accessible via the object's metadata
      return new MultipartPart(partNumber,
        null == part.getLastModified() ? new Date(System.currentTimeMillis()) : part.getLastModified(),
        null == part.getEtag() ? StringUtils.EMPTY : part.getEtag(),
        part.getSize());
    }
    catch(S3ServiceException e) {
      throw new S3ExceptionMappingService().map("Cannot copy {0}", e, source);
    }
  }
});
org.jets3t.service.modelMultipartPartgetLastModified

Popular methods of MultipartPart

  • <init>
  • getEtag
  • getPartNumber
  • getSize
  • sameEtag

Popular in Java

  • Start an intent from android
  • notifyDataSetChanged (ArrayAdapter)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • addToBackStack (FragmentTransaction)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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