java.text.spi
Class DateFormatSymbolsProvider

java.lang.Object
  extended by java.util.spi.LocaleServiceProvider
      extended by java.text.spi.DateFormatSymbolsProvider

public abstract class DateFormatSymbolsProvider
extends LocaleServiceProvider

A DateFormatSymbolsProvider provides localized instances of DateFormatSymbols.

Since:
1.6

Constructor Summary
protected DateFormatSymbolsProvider()
          Constructs a new DateFormatSymbolsProvider.
 
Method Summary
abstract  DateFormatSymbols getInstance(Locale locale)
          Returns a DateFormatSymbols instance for the specified Locale.
 
Methods inherited from class java.util.spi.LocaleServiceProvider
getAvailableLocales
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateFormatSymbolsProvider

protected DateFormatSymbolsProvider()
Constructs a new DateFormatSymbolsProvider. Provided for implicit invocation by subclasses.

Method Detail

getInstance

public abstract DateFormatSymbols getInstance(Locale locale)
Returns a DateFormatSymbols instance for the specified Locale.

Parameters:
locale - the locale to express the symbols in.
Returns:
the localized instance.
Throws:
NullPointerException - if the locale is null.
IllegalArgumentException - if the locale is not one returned by LocaleServiceProvider.getAvailableLocales()
See Also:
DateFormatSymbols.getInstance(java.util.Locale)