WABlob Class Reference
Inherits from | NSObject |
Declared in | WABlob.h |
Tasks
-
name
The name of the blob.
property -
URL
The address that identifies the blob.
property -
contentData
The content data for the blob.
property -
contentType
The content type for the blob.
property -
DEPRECATED_ATTRIBUTE
A WABlobContainer object representing the blob’s container.
property -
containerName
The container name of the blob.
property -
metadata
The metadata for the container.
property -
properties
The properties for the blob.
property -
– setValue:forMetadataKey:
Sets a value to the container metadata dictionary.
-
– removeMetadataForKey:
Removes a given key and its associated value from the dictionary.
-
– initBlobWithName:URL:
Initializes a newly created WABlob with an name and address URL.
-
– initBlobWithName:URL:container:
Initializes a newly created WABlob with a name, address URL and a container.
-
– initBlobWithName:URL:containerName:
Initializes a newly created WABlob with a name, address URL and a container.
-
– initBlobWithName:URL:container:properties:
Initializes a newly created WABlob with a name, address URL, the container and properties.
-
– initBlobWithName:URL:containerName:properties:
Initializes a newly created WABlob with a name, address URL, the container and properties.
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
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
properties
The properties for the blob.
@property (readonly) NSDictionary *properties
Declared In
WABlob.h
Instance Methods
initBlobWithName:URL:
- (id)initBlobWithName:(NSString *)name URL:(NSString *)URL
Return Value
The newly initialized WABlob object.
Declared In
WABlob.h
initBlobWithName:URL: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:
- (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