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'.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
directorySuffix
-
-
-
Field Detail
-
directorySuffix
@Inject(optional=true) @Named("jclouds.blobstore.directorysuffix") protected String directorySuffix
-
-
Method Detail
-
execute
public void execute(String containerName, String directory)
- Specified by:
execute
in interfaceMkdirStrategy
-
-