**Inheritance:**
java.lang.Object
```
public final class CurrentThreadSettings
```

فئة مساعدة تسمح بتحديد اللغة الافتراضية للخيط الحالي

**Deprecated:** Please use [LocaleOptions](../../com.aspose.imaging/localeoptions) instead of CurrentThreadSettings.
## الطرق

| طريقة | الوصف |
| --- | --- |
| [getLocale()](#getLocale--) | يعيد Locale الافتراضي للخيط الحالي. |
| [setLocale(String localeName)](#setLocale-java.lang.String-) | يضبط Locale الافتراضي للخيط الحالي. |
| [setLocale(Locale locale)](#setLocale-java.util.Locale-) | يضبط Locale الافتراضي للخيط الحالي. |
### getLocale() {#getLocale--}
```
public static Locale getLocale()
```


يعيد Locale الافتراضي للخيط الحالي.

**Returns:**
java.util.Locale - Locale الافتراضي للخيط الحالي.
### setLocale(String localeName) {#setLocale-java.lang.String-}
```
public static void setLocale(String localeName)
```


يضبط Locale الافتراضي للخيط الحالي.

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| localeName | java.lang.String | Locale الافتراضي للخيط الحالي. |

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


يضبط Locale الافتراضي للخيط الحالي.

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| locale | java.util.Locale | Locale الافتراضي للخيط الحالي. |

