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

Classe ausiliaria che consente di definire il Locale predefinito per il thread corrente.

**Deprecated:** Please use [LocaleOptions](../../com.aspose.imaging/localeoptions) instead of CurrentThreadSettings.
## Metodi

| Metodo | Descrizione |
| --- | --- |
| [getLocale()](#getLocale--) | Restituisce il Locale predefinito per il thread corrente. |
| [setLocale(String localeName)](#setLocale-java.lang.String-) | Imposta il Locale predefinito per il thread corrente. |
| [setLocale(Locale locale)](#setLocale-java.util.Locale-) | Imposta il Locale predefinito per il thread corrente. |
### getLocale() {#getLocale--}
```
public static Locale getLocale()
```


Restituisce il Locale predefinito per il thread corrente.

**Returns:**
java.util.Locale - il Locale predefinito per il thread corrente.
### setLocale(String localeName) {#setLocale-java.lang.String-}
```
public static void setLocale(String localeName)
```


Imposta il Locale predefinito per il thread corrente.

**Parameters:**
| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| localeName | java.lang.String | il Locale predefinito per il thread corrente. |

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


Imposta il Locale predefinito per il thread corrente.

**Parameters:**
| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| locale | java.util.Locale | il Locale predefinito per il thread corrente. |

