Inherits from NSObject
Declared in WABlob.h

Overview

A class that represents a Windows Azure Blob.

Tasks

Properties

DEPRECATED_ATTRIBUTE

A WABlobContainer object representing the blob’s container.

@property (readonly) WABlobContainer *DEPRECATED_ATTRIBUTE

Discussion

@deprecated This will be deprecated in the next release.

See Also

Declared In

WABlob.h

URL

The address that identifies the blob.

@property (readonly) NSURL *URL

Declared In

WABlob.h

containerName

The container name of the blob.

@property (readonly) NSString *containerName

Declared In

WABlob.h

contentData

The content data for the blob.

@property (nonatomic, retain) NSData *contentData

Declared In

WABlob.h

contentType

The content type for the blob.

@property (nonatomic, copy) NSString *contentType

Declared In

WABlob.h

metadata

The metadata for the container.

@property (readonly) NSDictionary *metadata

Declared In

WABlob.h

name

The name of the blob.

@property (readonly) NSString *name

Declared In

WABlob.h

properties

The properties for the blob.

@property (readonly) NSDictionary *properties

Declared In

WABlob.h

Instance Methods

initBlobWithName:URL:

Initializes a newly created WABlob with an name and address URL.

- (id)initBlobWithName:(NSString *)name URL:(NSString *)URL

Parameters

name

The name of the blob.

URL

The address of the blob.

Return Value

The newly initialized WABlob object.

Declared In

WABlob.h

initBlobWithName:URL:container:

Initializes a newly created WABlob with a name, address URL and a container.

- (id)initBlobWithName:(NSString *)name URL:(NSString *)URL container:(WABlobContainer *)container

Parameters

name

The name of the blob.

URL

The address of the blob.

container

The container for the blob.

Return Value

The newly initialized WABlob object.

See Also

Declared In

WABlob.h

initBlobWithName:URL:container:properties:

Initializes a newly created WABlob with a name, address URL, the container and properties.

- (id)initBlobWithName:(NSString *)name URL:(NSString *)URL container:(WABlobContainer *)container properties:(NSDictionary *)properties

Parameters

name

The name of the blob.

URL

The address of the blob.

container

The container for the blob.

properties

The properties for the blob.

Return Value

The newly initialized WABlob object.

See Also

Declared In

WABlob.h

initBlobWithName:URL:containerName:

Initializes a newly created WABlob with a name, address URL and a container.

- (id)initBlobWithName:(NSString *)name URL:(NSString *)URL containerName:(NSString *)containerName

Parameters

name

The name of the blob.

URL

The address of the blob.

containerName

The container name for the blob.

Return Value

The newly initialized WABlob object.

Declared In

WABlob.h

initBlobWithName:URL:containerName:properties:

Initializes a newly created WABlob with a name, address URL, the container and properties.

- (id)initBlobWithName:(NSString *)name URL:(NSString *)URL containerName:(NSString *)containerName properties:(NSDictionary *)properties

Parameters

name

The name of the blob.

URL

The address of the blob.

containerName

The container name for the blob.

properties

The properties for the blob.

Return Value

The newly initialized WABlob object.

Declared In

WABlob.h

removeMetadataForKey:

Removes a given key and its associated value from the dictionary.

- (void)removeMetadataForKey:(NSString *)key

Parameters

key

The key to remove.

@discussion Does nothing if key does not exist.

Declared In

WABlob.h

setValue:forMetadataKey:

Sets a value to the container metadata dictionary.

- (void)setValue:(NSString *)value forMetadataKey:(NSString *)key

Parameters

value

The value for the key.

key

The key for the value.

@discussion Raises an NSInvalidArgumentException if aKey or anObject is nil. If you need to represent a nil value in the dictionary, use NSNull. If aKey already exists in the dictionary, the dictionary’s previous value object for that key is sent a release message and anObject takes its place.

Declared In

WABlob.h