public abstract class

DecimalFormatSymbolsProvider

extends LocaleServiceProvider
java.lang.Object
   ↳ java.util.spi.LocaleServiceProvider
     ↳ java.text.spi.DecimalFormatSymbolsProvider

Class Overview

An abstract class for service providers that provide instances of the DecimalFormatSymbols class.

Summary

Protected Constructors
DecimalFormatSymbolsProvider()
Sole constructor.
Public Methods
abstract DecimalFormatSymbols getInstance(Locale locale)
Returns a new DecimalFormatSymbols instance for the specified locale.
[Expand]
Inherited Methods
From class java.util.spi.LocaleServiceProvider
From class java.lang.Object

Protected Constructors

protected DecimalFormatSymbolsProvider ()

Sole constructor. (For invocation by subclass constructors, typically implicit.)

Public Methods

public abstract DecimalFormatSymbols getInstance (Locale locale)

Returns a new DecimalFormatSymbols instance for the specified locale.

Parameters
locale the desired locale
Returns
  • a DecimalFormatSymbols instance.
Throws
NullPointerException if locale is null
IllegalArgumentException if locale isn't one of the locales returned from getAvailableLocales().