C# Class RemObjects.InternetPack.Messages.Mime.Header.HeaderFieldParser

Class that can parse different fields in the header sections of a MIME message.
Afficher le fichier Open project: remobjects/internetpack Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

ParseContentDisposition() public static méthode

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
Résultat System.Net.Mime.ContentDisposition

ParseContentTransferEncoding() public static méthode

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
Résultat ContentTransferEncoding

ParseContentType() public static méthode

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
Résultat System.Net.Mime.ContentType

ParseId() public static méthode

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
Résultat String

ParseImportance() public static méthode

Parses an ImportanceType from a given Importance header value.
If is
public static ParseImportance ( String headerValue ) : MailPriority
headerValue String The value to be parsed
Résultat MailPriority

ParseMultipleIDs() public static méthode

Parses multiple IDs from a single String like In-Reply-To.
public static ParseMultipleIDs ( String headerValue ) : List
headerValue String The value to parse
Résultat List