
**Inheritance:**
java.lang.Object
```
public class LocaleOptions
```

LocaleOptions type specifies locale configuration for Aspose.Email.
## Constructors

| Constructor | Description |
| --- | --- |
| [LocaleOptions()](#LocaleOptions--) |  |
## Methods

| Method | Description |
| --- | --- |
| [clear()](#clear--) | Clears default locale for Aspose.Email. |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getLocale()](#getLocale--) | Returns default Locale for Aspose.Email. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setLocale(String localeName)](#setLocale-java.lang.String-) | Set default locale related for Aspose.Email. |
| [setLocale(Locale locale)](#setLocale-java.util.Locale-) | Set default locale related for Aspose.Email. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### LocaleOptions() {#LocaleOptions--}
```
public LocaleOptions()
```


### clear() {#clear--}
```
public static void clear()
```


Clears default locale for Aspose.Email. Will be used locale default for Java.

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




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


Returns default Locale for Aspose.Email.

**Returns:**
java.util.Locale - The default Locale for current thread.
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




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




### setLocale(String localeName) {#setLocale-java.lang.String-}
```
public static void setLocale(String localeName)
```


Set default locale related for Aspose.Email.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| localeName | java.lang.String | the default Locale Name. |

### setLocale(Locale locale) {#setLocale-java.util.Locale-}
```
public static void setLocale(Locale locale)
```


Set default locale related for Aspose.Email.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| locale | java.util.Locale | the default Locale. |

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




**Returns:**
java.lang.String
### 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 |  |

