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
deepClone() Clones this instance.
equals(Object arg0)
getClass()
getName() Gets the name.
getRawContent() Gets the content of the raw.
hashCode()
notify()
notifyAll()
toString() Returns a String that represents the current Object.
wait()
wait(long arg0)
wait(long arg0, int arg1)

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.

deepClone()

public final MimeHeader deepClone()

Clones this instance.

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

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

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

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns a String that represents the current Object.

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

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int