org.jclouds.cloudfiles.blobstore.functions
Class CloudFilesObjectToBlobMetadata

java.lang.Object
  extended by org.jclouds.openstack.swift.blobstore.functions.ObjectToBlobMetadata
      extended by org.jclouds.cloudfiles.blobstore.functions.CloudFilesObjectToBlobMetadata
All Implemented Interfaces:
com.google.common.base.Function<ObjectInfo,MutableBlobMetadata>

@Singleton
public class CloudFilesObjectToBlobMetadata
extends ObjectToBlobMetadata

Author:
Adrian Cole

Constructor Summary
CloudFilesObjectToBlobMetadata(IfDirectoryReturnNameStrategy ifDirectoryReturnName, PublicUriForObjectInfo publicUriForObjectInfo)
           
 
Method Summary
 MutableBlobMetadata apply(ObjectInfo 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

CloudFilesObjectToBlobMetadata

@Inject
public CloudFilesObjectToBlobMetadata(IfDirectoryReturnNameStrategy ifDirectoryReturnName,
                                             PublicUriForObjectInfo publicUriForObjectInfo)
Method Detail

apply

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


Copyright © 2009-2011 jclouds. All Rights Reserved.