MimeHeader

Inheritance: java.lang.Object

public class MimeHeader

Represents the mime header defined in RFC 2822.

Constructors

Constructor Description
MimeHeader(String name, String value) Initializes a new instance of the MimeHeader class.

Methods

Method Description
getName() Gets the name.
getRawContent() Gets the content of the raw.
deepClone() Clones this instance.
toString() Returns a String that represents the current Object.

MimeHeader(String name, String value)

public MimeHeader(String name, String value)

Initializes a new instance of the MimeHeader class.

Parameters:

Parameter Type Description
name java.lang.String The MimeHeader name.
value java.lang.String The MimeHeader value.

getName()

public final String getName()

Gets the name.

Value: The name.

Returns: java.lang.String

getRawContent()

public final String getRawContent()

Gets the content of the raw.

Value: The content of the raw.

Returns: java.lang.String

deepClone()

public final MimeHeader deepClone()

Clones this instance.

Returns: MimeHeader - Returns new instance of the cloned MimeHeader class.

toString()

public String toString()

Returns a String that represents the current Object.

Returns: java.lang.String - A String that represents the current Object.