Package java.util
Class Locale

Public Method getDefault

static Locale getDefault()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Sets the default locale for this instance of the Java Virtual Machine. The Java Virtual Machine sets the default locale during startup. It is used by many locale sensitive methods if no locale is explicitly specified.

Example

   Locale loc = new Locale("de","AT","vienna");
   Logger.log("" + loc.getDefault());

The getDefault method returns the default value of the language and the country.