C# 클래스 anmar.SharpMimeTools.SharpMimeTools

파일 보기 프로젝트 열기: jeske/StepsDB-alpha

공개 메소드들

메소드 설명
QuotedPrintable2Unicode ( System charset, System orig ) : System.String

Decode rfc 2047 definition of quoted-printable

QuotedPrintable2Unicode ( System enc, System &orig ) : void

Decode rfc 2047 definition of quoted-printable

Rfc2392Url ( System input ) : System.String

Encodes a Message-ID or Content-ID following RFC 2392 rules.

UuDecode ( System input ) : System.Byte[]

Decodes the provided uuencoded string.

The input string must contain the begin and end delimiters.

UuDecodeLine ( System s, System stream ) : bool

Decodes the provided uuencoded line.

parseCharSet ( System charset ) : System.Text.Encoding

Parses a System.Text.Encoding from a charset name

parseDate ( System date ) : System.DateTime

Parse a rfc 2822 date and time specification. rfc 2822 section 3.3

parseFrom ( System from, int part ) : System.String

Parse a rfc 2822 name-address specification. rfc 2822 section 3.4

parseFrom ( System from ) : System.Collections.IEnumerable

Parse a rfc 2822 address specification. rfc 2822 section 3.4

parseHeaderFieldBody ( System field, System fieldbody ) : System.Collections.Specialized.StringDictionary

Parse a rfc 2822 header field with parameters

parserfc2047Header ( System header ) : System.String

Parse and decode rfc 2047 header body

rfc2047decode ( System word ) : System.String

rfc 2047 header body decoding

uncommentString ( System fieldValue ) : System.String

Remove rfc 2822 comments

비공개 메소드들

메소드 설명
GetFileName ( System name ) : System.String
ParseEnum ( System t, System s, System defaultvalue ) : Enum

메소드 상세

QuotedPrintable2Unicode() 공개 정적인 메소드

Decode rfc 2047 definition of quoted-printable
public static QuotedPrintable2Unicode ( System charset, System orig ) : System.String
charset System charset to use when decoding
orig System string to decode
리턴 System.String

QuotedPrintable2Unicode() 공개 정적인 메소드

Decode rfc 2047 definition of quoted-printable
public static QuotedPrintable2Unicode ( System enc, System &orig ) : void
enc System to use
orig System string to decode
리턴 void

Rfc2392Url() 공개 정적인 메소드

Encodes a Message-ID or Content-ID following RFC 2392 rules.
public static Rfc2392Url ( System input ) : System.String
input System with the Message-ID or Content-ID.
리턴 System.String

UuDecode() 공개 정적인 메소드

Decodes the provided uuencoded string.
The input string must contain the begin and end delimiters.
public static UuDecode ( System input ) : System.Byte[]
input System with the uuendoced content.
리턴 System.Byte[]

UuDecodeLine() 공개 정적인 메소드

Decodes the provided uuencoded line.
public static UuDecodeLine ( System s, System stream ) : bool
s System with the uuendoced line.
stream System where decoded should be written.
리턴 bool

parseCharSet() 공개 정적인 메소드

Parses a System.Text.Encoding from a charset name
public static parseCharSet ( System charset ) : System.Text.Encoding
charset System charset to parse
리턴 System.Text.Encoding

parseDate() 공개 정적인 메소드

Parse a rfc 2822 date and time specification. rfc 2822 section 3.3
public static parseDate ( System date ) : System.DateTime
date System rfc 2822 date-time
리턴 System.DateTime

parseFrom() 공개 정적인 메소드

Parse a rfc 2822 name-address specification. rfc 2822 section 3.4
public static parseFrom ( System from, int part ) : System.String
from System address
part int 1 is display-name; 2 is addr-spec
리턴 System.String

parseFrom() 공개 정적인 메소드

Parse a rfc 2822 address specification. rfc 2822 section 3.4
public static parseFrom ( System from ) : System.Collections.IEnumerable
from System field body to parse
리턴 System.Collections.IEnumerable

parseHeaderFieldBody() 공개 정적인 메소드

Parse a rfc 2822 header field with parameters
public static parseHeaderFieldBody ( System field, System fieldbody ) : System.Collections.Specialized.StringDictionary
field System field name
fieldbody System field body to parse
리턴 System.Collections.Specialized.StringDictionary

parserfc2047Header() 공개 정적인 메소드

Parse and decode rfc 2047 header body
public static parserfc2047Header ( System header ) : System.String
header System header body to parse
리턴 System.String

rfc2047decode() 공개 정적인 메소드

rfc 2047 header body decoding
public static rfc2047decode ( System word ) : System.String
word System string to decode
리턴 System.String

uncommentString() 공개 정적인 메소드

Remove rfc 2822 comments
public static uncommentString ( System fieldValue ) : System.String
fieldValue System string to uncomment
리턴 System.String