public class BlobPropertiesImpl extends Object implements BlobProperties
Constructor and Description |
---|
BlobPropertiesImpl(BlobType type,
String name,
String container,
URI url,
Date lastModified,
String eTag,
long size,
String contentType,
byte[] contentMD5,
String contentMetadata,
String contentLanguage,
Date currentExpires,
LeaseStatus leaseStatus,
Map<String,String> metadata) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BlobProperties o) |
boolean |
equals(Object obj) |
String |
getContainer() |
ContentMetadata |
getContentMetadata() |
String |
getETag() |
Date |
getLastModified() |
LeaseStatus |
getLeaseStatus() |
Map<String,String> |
getMetadata() |
String |
getName() |
BlobType |
getType() |
URI |
getUrl() |
int |
hashCode() |
String |
toString() |
public BlobPropertiesImpl(BlobType type, String name, String container, URI url, @Nullable Date lastModified, @Nullable String eTag, long size, String contentType, @Nullable byte[] contentMD5, @Nullable String contentMetadata, @Nullable String contentLanguage, @Nullable Date currentExpires, LeaseStatus leaseStatus, Map<String,String> metadata)
public BlobType getType()
getType
in interface BlobProperties
public String getName()
getName
in interface BlobProperties
public String getContainer()
getContainer
in interface BlobProperties
public Date getLastModified()
getLastModified
in interface BlobProperties
public String getETag()
getETag
in interface BlobProperties
public int compareTo(BlobProperties o)
compareTo
in interface Comparable<BlobProperties>
public Map<String,String> getMetadata()
getMetadata
in interface BlobProperties
public URI getUrl()
getUrl
in interface BlobProperties
public LeaseStatus getLeaseStatus()
getLeaseStatus
in interface BlobProperties
public ContentMetadata getContentMetadata()
getContentMetadata
in interface BlobProperties
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.