Modifier and Type | Field and Description |
---|---|
protected javax.inject.Provider<BlobBuilder> |
blobBuilders |
protected ClearListStrategy |
clearContainerStrategy |
protected CountListStrategy |
countBlobsStrategy |
protected GetDirectoryStrategy |
getDirectoryStrategy |
protected MkdirStrategy |
mkdirStrategy |
protected DeleteDirectoryStrategy |
rmDirStrategy |
Modifier | Constructor and Description |
---|---|
protected |
BlobUtilsImpl(javax.inject.Provider<BlobBuilder> blobBuilders,
ClearListStrategy clearContainerStrategy,
GetDirectoryStrategy getDirectoryStrategy,
MkdirStrategy mkdirStrategy,
CountListStrategy countBlobsStrategy,
DeleteDirectoryStrategy rmDirStrategy) |
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 javax.inject.Provider<BlobBuilder> blobBuilders
protected final ClearListStrategy clearContainerStrategy
protected final GetDirectoryStrategy getDirectoryStrategy
protected final MkdirStrategy mkdirStrategy
protected final DeleteDirectoryStrategy rmDirStrategy
protected final CountListStrategy countBlobsStrategy
@Inject protected BlobUtilsImpl(javax.inject.Provider<BlobBuilder> blobBuilders, ClearListStrategy clearContainerStrategy, GetDirectoryStrategy getDirectoryStrategy, MkdirStrategy mkdirStrategy, CountListStrategy countBlobsStrategy, DeleteDirectoryStrategy rmDirStrategy)
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-2016 The Apache Software Foundation. All Rights Reserved.