public class ObjectInfoImpl extends Object implements ObjectInfo
Modifier and Type | Class and Description |
---|---|
static class |
ObjectInfoImpl.Builder |
Constructor and Description |
---|
ObjectInfoImpl(String name,
URI uri,
String container,
byte[] hash,
Long bytes,
String contentType,
Date lastModified) |
Modifier and Type | Method and Description |
---|---|
static ObjectInfoImpl.Builder |
builder() |
int |
compareTo(ObjectInfo o) |
boolean |
equals(Object obj) |
Long |
getBytes() |
String |
getContainer() |
String |
getContentType() |
byte[] |
getHash() |
Date |
getLastModified() |
String |
getName() |
URI |
getUri() |
int |
hashCode() |
ObjectInfoImpl.Builder |
toBuilder() |
String |
toString() |
public static ObjectInfoImpl.Builder builder()
public String getName()
getName
in interface ObjectInfo
public String getContainer()
getContainer
in interface ObjectInfo
public URI getUri()
getUri
in interface ObjectInfo
public byte[] getHash()
getHash
in interface ObjectInfo
public Long getBytes()
getBytes
in interface ObjectInfo
public String getContentType()
getContentType
in interface ObjectInfo
public Date getLastModified()
getLastModified
in interface ObjectInfo
public ObjectInfoImpl.Builder toBuilder()
public int compareTo(ObjectInfo o)
compareTo
in interface Comparable<ObjectInfo>
Copyright © 2009-2012 jclouds. All Rights Reserved.