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 nameIOException
OutputStream createOutput(String blobName) throws IOException
IOException
boolean deleteBlob(String blobName) throws IOException
IOException
void deleteBlobsByPrefix(String blobNamePrefix) throws IOException
IOException
void deleteBlobsByFilter(BlobContainer.BlobNameFilter filter) throws IOException
IOException
com.google.common.collect.ImmutableMap<String,BlobMetaData> listBlobs() throws IOException
IOException
com.google.common.collect.ImmutableMap<String,BlobMetaData> listBlobsByPrefix(String blobNamePrefix) throws IOException
IOException
Copyright © 2009–2015. All rights reserved.