Java Code Examples for

The following are Jave code examples for showing how to use getLastModified() of the class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: Reer   File:   Source Code and License Vote up 5 votes
public ExternalResourceMetaData getMetaData() {
    ObjectMetadata objectMetadata = s3Object.getObjectMetadata();
    Date lastModified = objectMetadata.getLastModified();
    return new DefaultExternalResourceMetaData(uri,
            null); // Passing null for sha1 - TODO - consider using the etag which is an MD5 hash of the file (when less than 5Gb)