public class FileSystemBlobUtilsImpl extends Object implements BlobUtils
BlobUtils
interfaced and act as a bridge to
FilesystemStorageStrategy
when used inside AsyncBlobStore
Modifier and Type | Field and Description |
---|---|
protected Provider<BlobBuilder> |
blobBuilders |
protected FilesystemStorageStrategy |
storageStrategy |
Constructor and Description |
---|
FileSystemBlobUtilsImpl(FilesystemStorageStrategy storageStrategy,
Provider<BlobBuilder> blobBuilders) |
Modifier and Type | Method and Description |
---|---|
BlobBuilder |
blobBuilder() |
void |
clearContainer(String container,
ListContainerOptions options) |
long |
countBlobs(String container,
ListContainerOptions options) |
void |
createDirectory(String containerName,
String directory) |
void |
deleteDirectory(String container,
String directory) |
boolean |
directoryExists(String containerName,
String directory) |
protected final FilesystemStorageStrategy storageStrategy
protected final Provider<BlobBuilder> blobBuilders
@Inject public FileSystemBlobUtilsImpl(FilesystemStorageStrategy storageStrategy, Provider<BlobBuilder> blobBuilders)
public BlobBuilder blobBuilder()
blobBuilder
in interface BlobUtils
public boolean directoryExists(String containerName, String directory)
directoryExists
in interface BlobUtils
public void createDirectory(String containerName, String directory)
createDirectory
in interface BlobUtils
public long countBlobs(String container, ListContainerOptions options)
countBlobs
in interface BlobUtils
public void clearContainer(String container, ListContainerOptions options)
clearContainer
in interface BlobUtils
public void deleteDirectory(String container, String directory)
deleteDirectory
in interface BlobUtils
Copyright © 2009-2012 jclouds. All Rights Reserved.