CurrentThreadSettings

Inheritance: java.lang.Object

public class CurrentThreadSettings

Auxiliary class that allows to define default Locale for current thread

Constructors

ConstructorDescription
CurrentThreadSettings()

Methods

MethodDescription
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:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
localeNamejava.lang.Stringthe default Locale for current thread.

setLocale(Locale locale)

public static void setLocale(Locale locale)

Sets default Locale for current thread.

Parameters:

ParameterTypeDescription
localejava.util.Localethe 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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int