org.jclouds.s3.blobstore.functions
Class BucketToResourceList

java.lang.Object
  extended by org.jclouds.s3.blobstore.functions.BucketToResourceList
All Implemented Interfaces:
com.google.common.base.Function<ListBucketResponse,PageSet<? extends StorageMetadata>>

@Singleton
public class BucketToResourceList
extends Object
implements com.google.common.base.Function<ListBucketResponse,PageSet<? extends StorageMetadata>>

Author:
Adrian Cole

Field Summary
protected  com.google.common.base.Function<StorageMetadata,String> indexer
           
 
Constructor Summary
BucketToResourceList(ObjectToBlobMetadata object2blobMd, CommonPrefixesToResourceMetadata prefix2ResourceMd)
           
 
Method Summary
 PageSet<? extends StorageMetadata> apply(ListBucketResponse from)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Field Detail

indexer

protected final com.google.common.base.Function<StorageMetadata,String> indexer
Constructor Detail

BucketToResourceList

@Inject
public BucketToResourceList(ObjectToBlobMetadata object2blobMd,
                                   CommonPrefixesToResourceMetadata prefix2ResourceMd)
Method Detail

apply

public PageSet<? extends StorageMetadata> apply(ListBucketResponse from)
Specified by:
apply in interface com.google.common.base.Function<ListBucketResponse,PageSet<? extends StorageMetadata>>


Copyright © 2009-2011 jclouds. All Rights Reserved.