CurrentThreadSettings
Contents
[
Hide
]Inheritance: java.lang.Object
public class CurrentThreadSettings
Auxiliary class that allows to define default Locale for current thread
Constructors
| Constructor | Description |
|---|---|
| CurrentThreadSettings() |
Methods
| Method | Description |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getLocale() | Returns default Locale for current thread. |
| hashCode() | |
| notify() | |
| notifyAll() | |
| setLocale(String localeName) | Sets default Locale for current thread. |
| setLocale(Locale locale) | Sets default Locale for current thread. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
CurrentThreadSettings()
public CurrentThreadSettings()
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getLocale()
public static Locale getLocale()
Returns default Locale for current thread.
Returns: java.util.Locale - The default Locale for current thread.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setLocale(String localeName)
public static void setLocale(String localeName)
Sets default Locale for current thread.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| localeName | java.lang.String | the default Locale for current thread. |
setLocale(Locale locale)
public static void setLocale(Locale locale)
Sets default Locale for current thread.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| locale | java.util.Locale | the default Locale for current thread. |
toString()
public String toString()
Returns: java.lang.String
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 |