MimeHeader

Inheritance: java.lang.Object

public class MimeHeader

Represents the mime header defined in RFC 2822.

Constructors

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

Methods

MethodDescription
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:

ParameterTypeDescription
namejava.lang.StringThe MimeHeader name.
valuejava.lang.StringThe 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:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int