org.jclouds.azureblob.domain.internal
Class BlobPropertiesImpl

java.lang.Object
  extended by org.jclouds.azureblob.domain.internal.BlobPropertiesImpl
All Implemented Interfaces:
Serializable, Comparable<BlobProperties>, BlobProperties

public class BlobPropertiesImpl
extends Object
implements Serializable, BlobProperties

Allows you to manipulate metadata.

Author:
Adrian Cole
See Also:
Serialized Form

Constructor Summary
BlobPropertiesImpl(BlobType type, String name, String container, URI url, Date lastModified, String eTag, long size, String contentType, byte[] contentMD5, String contentMetadata, String contentLanguage, LeaseStatus leaseStatus, Map<String,String> metadata)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlobPropertiesImpl

public BlobPropertiesImpl(BlobType type,
                          String name,
                          String container,
                          URI url,
                          Date lastModified,
                          String eTag,
                          long size,
                          String contentType,
                          @Nullable
                          byte[] contentMD5,
                          @Nullable
                          String contentMetadata,
                          @Nullable
                          String contentLanguage,
                          LeaseStatus leaseStatus,
                          Map<String,String> metadata)
Method Detail

getType

public BlobType getType()

Specified by:
getType in interface BlobProperties

getName

public String getName()

Specified by:
getName in interface BlobProperties

getContainer

public String getContainer()

Specified by:
getContainer in interface BlobProperties

getLastModified

public Date getLastModified()

Specified by:
getLastModified in interface BlobProperties

getETag

public String getETag()

Specified by:
getETag in interface BlobProperties

compareTo

public int compareTo(BlobProperties o)

Specified by:
compareTo in interface Comparable<BlobProperties>

getMetadata

public Map<String,String> getMetadata()

Specified by:
getMetadata in interface BlobProperties

getUrl

public URI getUrl()

Specified by:
getUrl in interface BlobProperties

getLeaseStatus

public LeaseStatus getLeaseStatus()

Specified by:
getLeaseStatus in interface BlobProperties

getContentMetadata

public ContentMetadata getContentMetadata()

Specified by:
getContentMetadata in interface BlobProperties

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.