The MimeHeader type exposes the following members.

Constructors

  Name Description
Public method MimeHeader()()()()
Constructs a new
CopyC#
MimeHeader
instance.
Public method MimeHeader(array<Byte>[]()[][])
Constructs a new
CopyC#
MimeHeader
instance. The MIME header data is parsed.
Public method MimeHeader(String, String)
Constructs a new
CopyC#
MimeHeader
instance.
Public method MimeHeader(String, String, String)
Constructs a new
CopyC#
MimeHeader
instance.

Methods

  Name Description
Public method AddAttribute(MimeHeaderAttr)
Adds attribute to this
CopyC#
MimeHeader
.
Public method AddAttribute(String, String)
Adds attribute to this
CopyC#
MimeHeader
.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected method Fold
Gets folded version of
CopyC#
MimeHeader
. Folded headers have a maximum length of 72 character per line.
Public method GetAttribute
Gets attribute by name.
Public method GetAttributes
Gets all attributes for this
CopyC#
MimeHeader
.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetValueString
Gets value for this
CopyC#
MimeHeader
. Leaves quotes in value. Any encoded values in header will be decoded according to RFC 2047.
Public method IsValid
Checks if this header is valid.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Parse(array<Byte>[]()[][])
Parses information contained in MIME header.
Public method Parse(ByteBuffer)
Parses information contained in MIME header.
Public method RemoveAttribute
Removes specified index from attributes.
Public method ToString
Gets string representation of this
CopyC#
MimeHeader
.
(Overrides Object..::..ToString()()()().)
Protected method Unfold
Gets unfolded version of
CopyC#
MimeHeader
. Folded headers have a maximum length of 72 character per line.

Fields

  Name Description
Protected field Static member COLON
Represents byte value for colon.
Protected field Static member CR
Represents byte value for carriage return.
Protected field Static member CRLF
Represents String value for carriage return line feed combination.
Protected field Static member EQUALS
Represents byte value for equals sign.
Protected field Static member LF
Represents byte value for line feed.
Protected field name
Represents MIME header name.
Protected field Static member QUESTION_MARK
Represents byte value for question mark.
Protected field Static member SEMI_COLON
Represents byte value for semi-colon.
Protected field Static member SPACE
Represents byte value for space.
Protected field Static member TAB
Represents byte value for tab.
Protected field val
Represents MIME header value.

Properties

  Name Description
Public property Folding
Gets/Sets folding for this
CopyC#
MimeHeader
.
Public property Name
Gets/Sets name for this
CopyC#
MimeHeader
.
Public property Value
Gets/Sets value for this
CopyC#
MimeHeader
.

See Also