C# Класс RemObjects.InternetPack.Messages.Mime.Header.HeaderFieldParser

Class that can parse different fields in the header sections of a MIME message.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ParseContentDisposition ( String headerValue ) : ContentDisposition

Parses a the value for the header Content-Disposition to a ContentDisposition object.

ParseContentTransferEncoding ( String headerValue ) : ContentTransferEncoding

Parses the Content-Transfer-Encoding header.

ParseContentType ( String headerValue ) : ContentType

Parses a the value for the header Content-Type to a ContentType object.

ParseId ( String headerValue ) : String

Parses an ID like Message-Id and Content-Id.
Example:
<[email protected]>
into
[email protected]

ParseImportance ( String headerValue ) : MailPriority

Parses an ImportanceType from a given Importance header value.

ParseMultipleIDs ( String headerValue ) : List

Parses multiple IDs from a single String like In-Reply-To.

Описание методов

ParseContentDisposition() публичный статический Метод

Parses a the value for the header Content-Disposition to a ContentDisposition object.
If is
public static ParseContentDisposition ( String headerValue ) : ContentDisposition
headerValue String The value to be parsed
Результат System.Net.Mime.ContentDisposition

ParseContentTransferEncoding() публичный статический Метод

Parses the Content-Transfer-Encoding header.
If is If the could not be parsed to a
public static ParseContentTransferEncoding ( String headerValue ) : ContentTransferEncoding
headerValue String The value for the header to be parsed
Результат ContentTransferEncoding

ParseContentType() публичный статический Метод

Parses a the value for the header Content-Type to a ContentType object.
If is
public static ParseContentType ( String headerValue ) : ContentType
headerValue String The value to be parsed
Результат System.Net.Mime.ContentType

ParseId() публичный статический Метод

Parses an ID like Message-Id and Content-Id.
Example:
<[email protected]>
into
[email protected]
public static ParseId ( String headerValue ) : String
headerValue String The id to parse
Результат String

ParseImportance() публичный статический Метод

Parses an ImportanceType from a given Importance header value.
If is
public static ParseImportance ( String headerValue ) : MailPriority
headerValue String The value to be parsed
Результат MailPriority

ParseMultipleIDs() публичный статический Метод

Parses multiple IDs from a single String like In-Reply-To.
public static ParseMultipleIDs ( String headerValue ) : List
headerValue String The value to parse
Результат List