C# 클래스 RemObjects.InternetPack.Messages.Mime.Header.HeaderFieldParser

Class that can parse different fields in the header sections of a MIME message.
파일 보기 프로젝트 열기: remobjects/internetpack 1 사용 예제들

공개 메소드들

메소드 설명
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