C# Class anmar.SharpMimeTools.SharpMimeHeader

rfc 2822 header of a rfc 2045 entity
Inheritance: IEnumerable
Afficher le fichier Open project: jeske/StepsDB-alpha Class Usage Examples

Méthodes publiques

Méthode Description
Close ( ) : void

Contains ( System name ) : bool

GetEnumerator ( ) : System.Collections.IEnumerator

Returns an enumerator that can iterate through the header fields

GetHeaderField ( System name, System defaultvalue, bool uncomment, bool rfc2047decode ) : System.String

Returns the requested header field body.

SharpMimeHeader ( System message ) : System

Initializes a new instance of the anmar.SharpMimeTools.SharpMimeHeader class from a System.IO.Stream

SharpMimeHeader ( System message, long startpoint ) : System

Initializes a new instance of the anmar.SharpMimeTools.SharpMimeHeader class from a System.IO.Stream starting from the specified point

this ( System name ) : System.String

Gets header fields

Field names is case insentitive

Private Methods

Méthode Description
SharpMimeHeader ( anmar message ) : System
SharpMimeHeader ( anmar message, long startpoint ) : System
getProperty ( System name ) : System.String
parse ( ) : bool

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Contains() public méthode

public Contains ( System name ) : bool
name System
Résultat bool

GetEnumerator() public méthode

Returns an enumerator that can iterate through the header fields
public GetEnumerator ( ) : System.Collections.IEnumerator
Résultat System.Collections.IEnumerator

GetHeaderField() public méthode

Returns the requested header field body.
public GetHeaderField ( System name, System defaultvalue, bool uncomment, bool rfc2047decode ) : System.String
name System Header field name
defaultvalue System Value to return when the requested field is not present
uncomment bool true to uncomment using ; false to return the value unchanged.
rfc2047decode bool true to decode ; false to return the value unchanged.
Résultat System.String

SharpMimeHeader() public méthode

Initializes a new instance of the anmar.SharpMimeTools.SharpMimeHeader class from a System.IO.Stream
public SharpMimeHeader ( System message ) : System
message System to read headers from
Résultat System

SharpMimeHeader() public méthode

Initializes a new instance of the anmar.SharpMimeTools.SharpMimeHeader class from a System.IO.Stream starting from the specified point
public SharpMimeHeader ( System message, long startpoint ) : System
message System the to read headers from
startpoint long initial point of the where the headers start
Résultat System

this() public méthode

Gets header fields
Field names is case insentitive
public this ( System name ) : System.String
name System field name
Résultat System.String