public interface BlobContainer
| Modifier and Type | Interface and Description |
|---|---|
static interface |
BlobContainer.BlobNameFilter |
| Modifier and Type | Method and Description |
|---|---|
boolean |
blobExists(String blobName) |
OutputStream |
createOutput(String blobName)
Creates a new OutputStream for the given blob name
|
boolean |
deleteBlob(String blobName) |
void |
deleteBlobsByFilter(BlobContainer.BlobNameFilter filter) |
void |
deleteBlobsByPrefix(String blobNamePrefix) |
com.google.common.collect.ImmutableMap<String,BlobMetaData> |
listBlobs() |
com.google.common.collect.ImmutableMap<String,BlobMetaData> |
listBlobsByPrefix(String blobNamePrefix) |
InputStream |
openInput(String blobName)
Creates a new
InputStream for the given blob name |
BlobPath |
path() |
BlobPath path()
boolean blobExists(String blobName)
InputStream openInput(String blobName) throws IOException
InputStream for the given blob nameIOExceptionOutputStream createOutput(String blobName) throws IOException
IOExceptionboolean deleteBlob(String blobName) throws IOException
IOExceptionvoid deleteBlobsByPrefix(String blobNamePrefix) throws IOException
IOExceptionvoid deleteBlobsByFilter(BlobContainer.BlobNameFilter filter) throws IOException
IOExceptioncom.google.common.collect.ImmutableMap<String,BlobMetaData> listBlobs() throws IOException
IOExceptioncom.google.common.collect.ImmutableMap<String,BlobMetaData> listBlobsByPrefix(String blobNamePrefix) throws IOException
IOExceptionCopyright © 2009–2015. All rights reserved.