ListBlobItem Interface

public interface ListBlobItem

Represents an item that may be returned by a blob listing operation.

Method Summary

Modifier and Type Method and Description
CloudBlobContainer getContainer()

Returns the container for the blob item.

CloudBlobDirectory getParent()

Returns the parent for the blob item.

StorageUri getStorageUri()

Returns the list of URIs for all storage locations of the blob item.

URI getUri()

Returns the URI for the blob item.

Method Details

getContainer

public CloudBlobContainer getContainer()

Returns the container for the blob item.

Returns:

A CloudBlobContainer object which represents the blob item's container.

Throws:

StorageException - If a storage service error occurred.
URISyntaxException - If the resource URI is invalid.

getParent

public CloudBlobDirectory getParent()

Returns the parent for the blob item.

Returns:

A CloudBlobDirectory object which represents the blob item's parent.

Throws:

StorageException - If a storage service error occurred.
URISyntaxException - If the resource URI is invalid.

getStorageUri

public StorageUri getStorageUri()

Returns the list of URIs for all storage locations of the blob item.

Returns:

A StorageUri object which represents the blob item's URI.

getUri

public URI getUri()

Returns the URI for the blob item.

Returns:

A java.net.URI object which represents the blob item's URI.

Applies to