|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractSet<E> java.util.HashSet<E> java.util.LinkedHashSet<ObjectMetadata> org.jclouds.s3.domain.internal.ListBucketResponseImpl
public class ListBucketResponseImpl
Field Summary | |
---|---|
protected Set<String> |
commonPrefixes
|
protected String |
delimiter
|
protected String |
marker
|
protected int |
maxKeys
|
protected String |
name
|
protected String |
nextMarker
|
protected String |
prefix
|
protected boolean |
truncated
|
Constructor Summary | |
---|---|
ListBucketResponseImpl(String name,
Iterable<ObjectMetadata> contents,
String prefix,
String marker,
String nextMarker,
int maxKeys,
String delimiter,
boolean isTruncated,
Set<String> commonPrefixes)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Set<String> |
getCommonPrefixes()
Example: if the following keys are in the bucket a/1/a a/1/b a/2/a a/2/b and prefix is set to a/ and delimiter is set to / then
commonprefixes would return 1,2 |
String |
getDelimiter()
Causes keys that contain the same string between the prefix and the first occurrence of the delimiter to be rolled up into a single result element in the CommonPrefixes collection. |
String |
getMarker()
|
int |
getMaxKeys()
The maximum number of keys you'd like to see in the response body. |
String |
getName()
name of the Bucket |
String |
getNextMarker()
Indicates where in the bucket to begin listing. |
String |
getPrefix()
Limits the response to keys which begin with the indicated prefix. |
int |
hashCode()
|
boolean |
isTruncated()
There are more then maxKeys available |
Methods inherited from class java.util.HashSet |
---|
add, clear, clone, contains, isEmpty, iterator, remove, size |
Methods inherited from class java.util.AbstractSet |
---|
removeAll |
Methods inherited from class java.util.AbstractCollection |
---|
addAll, containsAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
---|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Field Detail |
---|
protected final String name
protected final String prefix
protected final int maxKeys
protected final String delimiter
protected final String marker
protected final String nextMarker
protected final Set<String> commonPrefixes
protected final boolean truncated
Constructor Detail |
---|
public ListBucketResponseImpl(String name, Iterable<ObjectMetadata> contents, String prefix, String marker, String nextMarker, int maxKeys, String delimiter, boolean isTruncated, Set<String> commonPrefixes)
Method Detail |
---|
public Set<String> getCommonPrefixes()
a/
and delimiter is set to /
then
commonprefixes would return 1,2
getCommonPrefixes
in interface ListBucketResponse
ListBucketOptions.getPrefix()
public String getDelimiter()
getDelimiter
in interface ListBucketResponse
public String getMarker()
getMarker
in interface ListBucketResponse
public String getNextMarker()
getNextMarker
in interface ListBucketResponse
public int getMaxKeys()
getMaxKeys
in interface ListBucketResponse
public String getPrefix()
getPrefix
in interface ListBucketResponse
public boolean isTruncated()
isTruncated
in interface ListBucketResponse
public String getName()
getName
in interface ListBucketResponse
public int hashCode()
hashCode
in interface Collection<ObjectMetadata>
hashCode
in interface Set<ObjectMetadata>
hashCode
in class AbstractSet<ObjectMetadata>
public boolean equals(Object obj)
equals
in interface Collection<ObjectMetadata>
equals
in interface Set<ObjectMetadata>
equals
in class AbstractSet<ObjectMetadata>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |