org.jclouds.azureblob.blobstore.functions
Class ListBlobsResponseToResourceList

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

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

Author:
Adrian Cole

Field Summary
protected  com.google.common.base.Function<StorageMetadata,String> indexer
           
 
Constructor Summary
ListBlobsResponseToResourceList(BlobPropertiesToBlobMetadata object2blobMd, PrefixToResourceMetadata prefix2ResourceMd)
           
 
Method Summary
 PageSet<? extends StorageMetadata> apply(ListBlobsResponse 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

ListBlobsResponseToResourceList

@Inject
public ListBlobsResponseToResourceList(BlobPropertiesToBlobMetadata object2blobMd,
                                              PrefixToResourceMetadata prefix2ResourceMd)
Method Detail

apply

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


Copyright © 2009-2011 jclouds. All Rights Reserved.