public class DelegatingMutableObjectInfoWithMetadata extends org.jclouds.io.payloads.BaseMutableContentMetadata implements MutableObjectInfoWithMetadata
| Constructor and Description |
|---|
DelegatingMutableObjectInfoWithMetadata(MutableObjectInfoWithMetadata delegate) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ObjectInfo o) |
Long |
getBytes() |
String |
getContainer() |
Long |
getContentLength() |
byte[] |
getContentMD5() |
String |
getContentType() |
MutableObjectInfoWithMetadata |
getDelegate() |
byte[] |
getHash() |
Date |
getLastModified() |
Map<String,String> |
getMetadata() |
String |
getName() |
String |
getObjectManifest() |
URI |
getUri() |
int |
hashCode() |
void |
setBytes(Long bytes) |
void |
setContainer(String container) |
void |
setContentLength(Long bytes) |
void |
setContentMD5(byte[] hash) |
void |
setContentType(String contentType) |
void |
setHash(byte[] hash) |
void |
setLastModified(Date lastModified) |
void |
setName(String name) |
void |
setObjectManifest(String objectManifest) |
void |
setUri(URI uri) |
fromContentMetadata, getContentDisposition, getContentEncoding, getContentLanguage, getContentMD5AsHashCode, getExpires, setContentDisposition, setContentEncoding, setContentLanguage, setContentMD5, setExpires, toBuilderpublic DelegatingMutableObjectInfoWithMetadata(MutableObjectInfoWithMetadata delegate)
public Long getContentLength()
getContentLength in interface org.jclouds.io.ContentMetadatagetContentLength in class org.jclouds.io.payloads.BaseMutableContentMetadatapublic String getContentType()
getContentType in interface org.jclouds.io.ContentMetadatagetContentType in interface ObjectInfogetContentType in class org.jclouds.io.payloads.BaseMutableContentMetadatapublic byte[] getContentMD5()
getContentMD5 in interface org.jclouds.io.ContentMetadatagetContentMD5 in class org.jclouds.io.payloads.BaseMutableContentMetadatapublic int hashCode()
hashCode in class org.jclouds.io.ContentMetadataBuilderpublic void setContentLength(Long bytes)
setContentLength in interface org.jclouds.io.MutableContentMetadatasetContentLength in class org.jclouds.io.payloads.BaseMutableContentMetadatapublic void setContentType(String contentType)
setContentType in interface org.jclouds.io.MutableContentMetadatasetContentType in interface MutableObjectInfoWithMetadatasetContentType in class org.jclouds.io.payloads.BaseMutableContentMetadatapublic void setContentMD5(byte[] hash)
setContentMD5 in interface org.jclouds.io.MutableContentMetadatasetContentMD5 in class org.jclouds.io.payloads.BaseMutableContentMetadatapublic MutableObjectInfoWithMetadata getDelegate()
public Map<String,String> getMetadata()
getMetadata in interface MutableObjectInfoWithMetadatapublic void setBytes(Long bytes)
setBytes in interface MutableObjectInfoWithMetadatapublic void setHash(byte[] hash)
setHash in interface MutableObjectInfoWithMetadatapublic void setLastModified(Date lastModified)
setLastModified in interface MutableObjectInfoWithMetadatapublic void setName(String name)
setName in interface MutableObjectInfoWithMetadatapublic Long getBytes()
getBytes in interface ObjectInfopublic byte[] getHash()
getHash in interface ObjectInfopublic Date getLastModified()
getLastModified in interface ObjectInfopublic String getName()
getName in interface ObjectInfopublic int compareTo(ObjectInfo o)
compareTo in interface Comparable<ObjectInfo>public void setContainer(String container)
setContainer in interface MutableObjectInfoWithMetadatapublic String getContainer()
getContainer in interface ObjectInfopublic void setUri(URI uri)
setUri in interface MutableObjectInfoWithMetadatapublic URI getUri()
getUri in interface ObjectInfopublic void setObjectManifest(String objectManifest)
setObjectManifest in interface MutableObjectInfoWithMetadatapublic String getObjectManifest()
getObjectManifest in interface MutableObjectInfoWithMetadataCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.