Method | Description | |
---|---|---|
CreateMimeEntity ( ) : |
Creates the MIME entity.
|
|
GetContentType ( string contentType ) : |
Gets the type of the content.
|
|
GetMediaMainType ( string mediaType ) : string |
Gets the type of the media main.
|
|
GetMediaSubType ( string mediaType ) : string |
Gets the type of the media sub.
|
|
GetMediaType ( string mediaType ) : string |
Gets the type of the media.
|
|
GetTransferEncoding ( string transferEncoding ) : TransferEncoding |
Gets the transfer encoding. The transfer encoding determination follows the same rules as Peter Huber's article w/ the exception of not throwing exceptions when binary is provided as a transferEncoding. Instead it is left to the calling code to check for binary. |
|
MimeReader ( IEnumerable |
Initializes a new instance of the MimeReader class.
|
Method | Description | |
---|---|---|
AddChildEntity ( |
Adds the child entity.
|
|
GetBytes ( string content ) : byte[] |
Gets a byte[] of content for the provided string.
|
|
MimeReader ( ) : System |
Prevents a default instance of the MimeReader class from being created.
|
|
MimeReader ( |
Initializes a new instance of the MimeReader class.
|
|
ParseBody ( ) : void |
Parses the body.
|
|
ParseHeaders ( ) : int |
Parse headers into _entity.Headers NameValueCollection.
|
|
ProcessHeaders ( ) : void |
Processes mime specific headers.
|
|
SetDecodedContentStream ( ) : void |
Sets the decoded content stream by decoding the EncodedMessage and writing it to the entity content stream.
|
public static GetContentType ( string contentType ) : |
||
contentType | string | /// Type of the content. /// |
return |
public static GetMediaMainType ( string mediaType ) : string | ||
mediaType | string | /// Type of the media. /// |
return | string |
public static GetMediaSubType ( string mediaType ) : string | ||
mediaType | string | /// Type of the media. /// |
return | string |
public static GetMediaType ( string mediaType ) : string | ||
mediaType | string | /// Type of the media. /// |
return | string |
public static GetTransferEncoding ( string transferEncoding ) : TransferEncoding | ||
transferEncoding | string | /// The transfer encoding. /// |
return | TransferEncoding |
public MimeReader ( IEnumerable |
||
lines | IEnumerable |
/// The lines. /// |
return | System |