public class ObjectStat extends Object
| Constructor and Description |
|---|
ObjectStat(String bucketName,
String name,
Date createdTime,
long length,
String etag,
String contentType)
Creates ObjectStat with given bucket name, object name, created time, object length, Etag and content type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
bucketName()
Returns bucket name.
|
String |
contentType()
Returns content type of object.
|
Date |
createdTime()
Returns created time.
|
boolean |
equals(Object o)
Checks whether given object is same as this ObjectStat.
|
String |
etag()
Returns ETag.
|
int |
hashCode()
Returns hash of this ObjectStat.
|
long |
length()
Returns object length.
|
String |
name()
Returns object name.
|
String |
toString()
Returns ObjectStat as string.
|
public boolean equals(Object o)
public String bucketName()
public String name()
public Date createdTime()
public long length()
public String etag()
public String contentType()