MessageFormat
Inheritance: java.lang.Object
public final class MessageFormat
Represents the mail message format.It can be in eml,msg or mhtml format.
Methods
| Method | Description |
|---|---|
| equals(Object obj) | Equalses the specified o. |
| getClass() | |
| getEml() | Indicates message in Eml format. |
| getEmlx() | Indicates message in Emlx format, used by Apple Mail. |
| getHtml() | Indicates message in Html format. |
| getMht() | Indicates message in Mht format. |
| getMsg() | Indicates message in Msg format, used by Microsoft Outlook. |
| getTnef() | Indicates message in Tnef format. |
| hashCode() | Serves as a hash function for a particular type. |
| notify() | |
| notifyAll() | |
| toString() | Returns a String that represents the current Object. |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
equals(Object obj)
public boolean equals(Object obj)
Equalses the specified o.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| obj | java.lang.Object | An object to compare |
Returns: boolean - Returns true if objects are an equal, otherwise returns false.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getEml()
public static MessageFormat getEml()
Indicates message in Eml format.
Returns: MessageFormat
getEmlx()
public static MessageFormat getEmlx()
Indicates message in Emlx format, used by Apple Mail.
Returns: MessageFormat
getHtml()
public static MessageFormat getHtml()
Indicates message in Html format.
Returns: MessageFormat
getMht()
public static MessageFormat getMht()
Indicates message in Mht format.
Returns: MessageFormat
getMsg()
public static MessageFormat getMsg()
Indicates message in Msg format, used by Microsoft Outlook.
Returns: MessageFormat
getTnef()
public static MessageFormat getTnef()
Indicates message in Tnef format.
Returns: MessageFormat
hashCode()
public int hashCode()
Serves as a hash function for a particular type.
Returns: int - A hash code for the current Object.
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 |