
**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)](#equals-java.lang.Object-) | Equalses the specified o. |
| [getClass()](#getClass--) |  |
| [getEml()](#getEml--) | Indicates message in  **Eml**  format. |
| [getEmlx()](#getEmlx--) | Indicates message in  **Emlx**  format, used by Apple Mail. |
| [getHtml()](#getHtml--) | Indicates message in  **Html**  format. |
| [getMht()](#getMht--) | Indicates message in  **Mht**  format. |
| [getMsg()](#getMsg--) | Indicates message in  **Msg**  format, used by Microsoft Outlook. |
| [getTnef()](#getTnef--) | Indicates message in  **Tnef**  format. |
| [hashCode()](#hashCode--) | Serves as a hash function for a particular type. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) | Returns a String that represents the current Object. |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### equals(Object obj) {#equals-java.lang.Object-}
```
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() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getEml() {#getEml--}
```
public static MessageFormat getEml()
```


Indicates message in  **Eml**  format.

**Returns:**
[MessageFormat](../../com.aspose.email/messageformat)
### getEmlx() {#getEmlx--}
```
public static MessageFormat getEmlx()
```


Indicates message in  **Emlx**  format, used by Apple Mail.

**Returns:**
[MessageFormat](../../com.aspose.email/messageformat)
### getHtml() {#getHtml--}
```
public static MessageFormat getHtml()
```


Indicates message in  **Html**  format.

**Returns:**
[MessageFormat](../../com.aspose.email/messageformat)
### getMht() {#getMht--}
```
public static MessageFormat getMht()
```


Indicates message in  **Mht**  format.

**Returns:**
[MessageFormat](../../com.aspose.email/messageformat)
### getMsg() {#getMsg--}
```
public static MessageFormat getMsg()
```


Indicates message in  **Msg**  format, used by Microsoft Outlook.

**Returns:**
[MessageFormat](../../com.aspose.email/messageformat)
### getTnef() {#getTnef--}
```
public static MessageFormat getTnef()
```


Indicates message in  **Tnef**  format.

**Returns:**
[MessageFormat](../../com.aspose.email/messageformat)
### hashCode() {#hashCode--}
```
public int hashCode()
```


Serves as a hash function for a particular type.

**Returns:**
int - A hash code for the current Object.
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### toString() {#toString--}
```
public String toString()
```


Returns a String that represents the current Object.

**Returns:**
java.lang.String - A String that represents the current Object.
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

