public abstract void setLocale (Locale locale)

Sets the locale to be applied when formatting diagnostics and other localized data.

Parameters:
locale    the locale to apply; null means apply no locale

Exceptions:
IllegalStateException    if the task has started