org.jclouds.s3.blobstore.functions
Class ObjectToBlobMetadata

java.lang.Object
  extended by org.jclouds.s3.blobstore.functions.ObjectToBlobMetadata
All Implemented Interfaces:
com.google.common.base.Function<ObjectMetadata,MutableBlobMetadata>

@Singleton
public class ObjectToBlobMetadata
extends Object
implements com.google.common.base.Function<ObjectMetadata,MutableBlobMetadata>

Author:
Adrian Cole

Constructor Summary
ObjectToBlobMetadata(IfDirectoryReturnNameStrategy ifDirectoryReturnName, com.google.common.cache.LoadingCache<String,AccessControlList> bucketAcls)
           
 
Method Summary
 MutableBlobMetadata apply(ObjectMetadata 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
 

Constructor Detail

ObjectToBlobMetadata

@Inject
public ObjectToBlobMetadata(IfDirectoryReturnNameStrategy ifDirectoryReturnName,
                                   com.google.common.cache.LoadingCache<String,AccessControlList> bucketAcls)
Method Detail

apply

public MutableBlobMetadata apply(ObjectMetadata from)
Specified by:
apply in interface com.google.common.base.Function<ObjectMetadata,MutableBlobMetadata>


Copyright © 2009-2012 jclouds. All Rights Reserved.