@Singleton public class ObjectToBlobMetadata extends Object implements com.google.common.base.Function<ObjectMetadata,MutableBlobMetadata>
Constructor and Description |
---|
ObjectToBlobMetadata(IfDirectoryReturnNameStrategy ifDirectoryReturnName,
com.google.common.cache.LoadingCache<String,AccessControlList> bucketAcls,
com.google.common.base.Function<String,Location> locationOfBucket) |
Modifier and Type | Method and Description |
---|---|
MutableBlobMetadata |
apply(ObjectMetadata from) |
@Inject public ObjectToBlobMetadata(IfDirectoryReturnNameStrategy ifDirectoryReturnName, com.google.common.cache.LoadingCache<String,AccessControlList> bucketAcls, com.google.common.base.Function<String,Location> locationOfBucket)
public MutableBlobMetadata apply(ObjectMetadata from)
apply
in interface com.google.common.base.Function<ObjectMetadata,MutableBlobMetadata>
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.