Inherits from AMPObject : NSObject
Declared in AMPMCOAbstractPart.h
AMPMCOAbstractPart.m

Class Methods

partForMailCorePart:

+ (AMPMCOAbstractPart *)partForMailCorePart:(id)part

Instance Methods

AllParts

Returns all parts.

- (NSArray *)AllParts

Declared In

AMPMCOAbstractPart.h

PartsForMime:

Returns all parts for a mime type

- (NSArray *)PartsForMime:(NSString *)mimeIn

Declared In

AMPMCOAbstractPart.h

charset

Returns charset of the part in case it’s a text single part.

- (NSString *)charset

Declared In

AMPMCOAbstractPart.h

contentDescription

Returns the value of the Content-Description field of the part.

- (NSString *)contentDescription

Declared In

AMPMCOAbstractPart.h

contentID

Returns the value of the Content-ID field of the part.

- (NSString *)contentID

Declared In

AMPMCOAbstractPart.h

contentLocation

Returns the value of the Content-Location field of the part.

- (NSString *)contentLocation

Declared In

AMPMCOAbstractPart.h

decodedStringForData:

Returns a string representation of the data according to charset.

- (NSString *)decodedStringForData:(NSData *)data

Declared In

AMPMCOAbstractPart.h

filename

Returns filename of the part.

- (NSString *)filename

Declared In

AMPMCOAbstractPart.h

inlineAttachment

Returns whether the part is an explicit inline attachment.

- (BOOL)inlineAttachment

Declared In

AMPMCOAbstractPart.h

mimeType

Returns MIME type of the part. For example application/data.

- (NSString *)mimeType

Declared In

AMPMCOAbstractPart.h

partForContentID:

Returns the part with the given Content-ID among this part and its subparts.

- (AMPMCOAbstractPart *)partForContentID:(NSString *)contentID

Declared In

AMPMCOAbstractPart.h

partForUniqueID:

Returns the part with the given unique identifier among this part and its subparts.

- (AMPMCOAbstractPart *)partForUniqueID:(NSString *)uniqueID

Declared In

AMPMCOAbstractPart.h

partType

Returns type of the part (single / message part / multipart/mixed, multipart/related, multipart/alternative). See MCOPartType.

- (AMPMCOPartType)partType

Declared In

AMPMCOAbstractPart.h

uniqueID

Returns the unique ID generated for this part. It’s a unique identifier that’s created when the object is created manually or created by the parser.

- (NSString *)uniqueID

Declared In

AMPMCOAbstractPart.h