public class ObjectInfoImpl extends Object implements ObjectInfo
Modifier and Type | Class and Description |
---|---|
static class |
ObjectInfoImpl.Builder<T extends ObjectInfoImpl.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
ObjectInfoImpl(String name,
String container,
URI uri,
byte[] hash,
Long bytes,
String contentType,
Date lastModified) |
Modifier and Type | Method and Description |
---|---|
static ObjectInfoImpl.Builder<?> |
builder() |
int |
compareTo(ObjectInfo other) |
boolean |
equals(Object obj) |
Long |
getBytes() |
String |
getContainer() |
String |
getContentType() |
byte[] |
getHash() |
Date |
getLastModified() |
String |
getName() |
URI |
getUri() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
ObjectInfoImpl.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"name","container","uri","hash","bytes","content_type","last_modified"}) protected ObjectInfoImpl(String name, @Nullable String container, @Nullable URI uri, @Nullable byte[] hash, @Nullable Long bytes, @Nullable String contentType, @Nullable Date lastModified)
public static ObjectInfoImpl.Builder<?> builder()
public ObjectInfoImpl.Builder<?> toBuilder()
public String getName()
getName
in interface ObjectInfo
@Nullable public String getContainer()
getContainer
in interface ObjectInfo
@Nullable public URI getUri()
getUri
in interface ObjectInfo
@Nullable public byte[] getHash()
getHash
in interface ObjectInfo
@Nullable public Long getBytes()
getBytes
in interface ObjectInfo
@Nullable public String getContentType()
getContentType
in interface ObjectInfo
@Nullable public Date getLastModified()
getLastModified
in interface ObjectInfo
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(ObjectInfo other)
compareTo
in interface Comparable<ObjectInfo>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.