org.jclouds.blobstore.strategy.internal
Class MarkerFileMkdirStrategy
java.lang.Object
org.jclouds.blobstore.strategy.internal.MarkerFileMkdirStrategy
- All Implemented Interfaces:
- MkdirStrategy
@Singleton
public class MarkerFileMkdirStrategy
- extends Object
- implements MkdirStrategy
Key-value implementations of BlobStore, such as S3, do not have directories. In following the
rackspace cloud files project, we use an empty object '#{dirpath}' with content type set to
'application/directory'.
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
directorySuffix
@Inject(optional=true)
@Named(value="jclouds.blobstore.directorysuffix")
protected String directorySuffix
execute
public void execute(String containerName,
String directory)
- Specified by:
execute
in interface MkdirStrategy
Copyright © 2009-2011 jclouds. All Rights Reserved.