public class URLBlobContainer extends AbstractBlobContainer
BlobContainer| Modifier and Type | Field and Description |
|---|---|
protected URLBlobStore |
blobStore |
protected URL |
path |
| Constructor and Description |
|---|
URLBlobContainer(URLBlobStore blobStore,
BlobPath blobPath,
URL path)
Constructs new URLBlobContainer
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
blobExists(String blobName)
This operation is not supported by URLBlobContainer
|
OutputStream |
createOutput(String blobName)
Creates a new OutputStream for the given blob name
|
boolean |
deleteBlob(String blobName)
This operation is not supported by URLBlobContainer
|
com.google.common.collect.ImmutableMap<String,BlobMetaData> |
listBlobs()
This operation is not supported by URLBlobContainer
|
com.google.common.collect.ImmutableMap<String,BlobMetaData> |
listBlobsByPrefix(String blobNamePrefix)
This operation is not supported by URLBlobContainer
|
InputStream |
openInput(String name)
Creates a new
InputStream for the given blob name |
URL |
url()
Returns URL for this container
|
deleteBlobsByPrefix, pathprotected final URLBlobStore blobStore
protected final URL path
public URLBlobContainer(URLBlobStore blobStore, BlobPath blobPath, URL path)
blobStore - blob storeblobPath - blob path for this containerpath - URL for this containerpublic URL url()
public com.google.common.collect.ImmutableMap<String,BlobMetaData> listBlobs() throws IOException
IOExceptionpublic com.google.common.collect.ImmutableMap<String,BlobMetaData> listBlobsByPrefix(String blobNamePrefix) throws IOException
IOExceptionpublic boolean deleteBlob(String blobName) throws IOException
IOExceptionpublic boolean blobExists(String blobName)
public InputStream openInput(String name) throws IOException
BlobContainerInputStream for the given blob nameIOExceptionpublic OutputStream createOutput(String blobName) throws IOException
BlobContainerIOExceptionCopyright © 2009–2016. All rights reserved.